diff options
author | Gabi Melman <gmelman1@gmail.com> | 2019-09-15 19:15:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-15 19:15:35 +0300 |
commit | c53d26cfca3ec068dba2de3a35a5d97f587d1e1f (patch) | |
tree | b16912d7f5c777234e820a5fedfcd05cc849df90 /tests | |
parent | c188bee22984701581850e19604be137e484a801 (diff) |
Update utils.cpp
Diffstat (limited to 'tests')
-rw-r--r-- | tests/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.cpp b/tests/utils.cpp index 2aa6e5e7..31150e2f 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -80,7 +80,7 @@ std::size_t count_files(const std::string &folder) HANDLE hFind = INVALID_HANDLE_VALUE; // Start iterating over the files in the path directory. - hFind = ::FindFirstFileA(path.c_str(), &ffd); + hFind = ::FindFirstFileA(folder.c_str(), &ffd); if (hFind != INVALID_HANDLE_VALUE) { do // Managed to locate and create an handle to that folder. |