Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGabi Melman <gmelman1@gmail.com>2019-09-15 19:15:35 +0300
committerGitHub <noreply@github.com>2019-09-15 19:15:35 +0300
commitc53d26cfca3ec068dba2de3a35a5d97f587d1e1f (patch)
treeb16912d7f5c777234e820a5fedfcd05cc849df90 /tests
parentc188bee22984701581850e19604be137e484a801 (diff)
Update utils.cpp
Diffstat (limited to 'tests')
-rw-r--r--tests/utils.cpp2
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.