aboutsummaryrefslogtreecommitdiff
path: root/libbutl/filesystem.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-22 21:24:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-26 23:01:54 +0300
commitb0491a9085ebc44846326f526d6bfaef18d4376c (patch)
tree35f912595878d2fef8473b7c75da827b5a0aac9f /libbutl/filesystem.hxx
parentc6c224a78715d5e2c532fe318325fbca8e70e701 (diff)
Optimize dir_iterator and path_entry() on Windows
Diffstat (limited to 'libbutl/filesystem.hxx')
-rw-r--r--libbutl/filesystem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/filesystem.hxx b/libbutl/filesystem.hxx
index 4cb74a6..71b3ebd 100644
--- a/libbutl/filesystem.hxx
+++ b/libbutl/filesystem.hxx
@@ -739,7 +739,7 @@ namespace butl
#ifndef _WIN32
DIR* h_ = nullptr;
#else
- intptr_t h_ = -1;
+ intptr_t h_ = -1; // INVALID_HANDLE_VALUE
#endif
mode mode_ = no_follow;