mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Update utils.cpp
This commit is contained in:
parent
5d46f3fcab
commit
7f1a89e3f6
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user