Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
523eebe4
Commit
523eebe4
authored
Sep 16, 2019
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update utils.cpp
parent
b303d8bc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
tests/utils.cpp
tests/utils.cpp
+2
-3
No files found.
tests/utils.cpp
View file @
523eebe4
...
@@ -77,10 +77,9 @@ std::size_t count_files(const std::string &folder)
...
@@ -77,10 +77,9 @@ std::size_t count_files(const std::string &folder)
{
{
size_t
counter
=
0
;
size_t
counter
=
0
;
WIN32_FIND_DATA
ffd
;
WIN32_FIND_DATA
ffd
;
HANDLE
hFind
=
INVALID_HANDLE_VALUE
;
// Start iterating over the files in the path directory.
// Start iterating over the files in the path directory.
hFind
=
::
FindFirstFileA
((
folder
+
"
\\
*"
).
c_str
(),
&
ffd
);
HANDLE
hFind
=
::
FindFirstFileA
((
folder
+
"
\\
*"
).
c_str
(),
&
ffd
);
if
(
hFind
!=
INVALID_HANDLE_VALUE
)
if
(
hFind
!=
INVALID_HANDLE_VALUE
)
{
{
do
// Managed to locate and create an handle to that folder.
do
// Managed to locate and create an handle to that folder.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment