Update utils.cpp

This commit is contained in:
Gabi Melman 2019-09-15 18:49:19 +03:00 committed by GitHub
parent 5d46f3fcab
commit 7f1a89e3f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ bool ends_with(std::string const &value, std::string const &ending)
// source: https://stackoverflow.com/a/37416569/192001 // source: https://stackoverflow.com/a/37416569/192001
std::size_t count_files(const std::string &folder) std::size_t count_files(const std::string &folder)
{ {
counter counter = 0; size_t counter = 0;
WIN32_FIND_DATA ffd; WIN32_FIND_DATA ffd;
HANDLE hFind = INVALID_HANDLE_VALUE; HANDLE hFind = INVALID_HANDLE_VALUE;