Small fixes

This commit is contained in:
momo5502
2024-12-26 09:37:10 +01:00
parent cb88ebe480
commit 724446620c
2 changed files with 10 additions and 4 deletions

View File

@@ -158,9 +158,13 @@ bool test_dir_io()
{
size_t count = 0;
for(auto i : std::filesystem::directory_iterator(R"(C:\Windows\System32\)"))
for (auto i : std::filesystem::directory_iterator(R"(C:\Windows\System32\)"))
{
++count;
if (count > 30)
{
return true;
}
}
return count > 30;