diff options
Diffstat (limited to 'src/main/cpp/util/file.cc')
-rw-r--r-- | src/main/cpp/util/file.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/cpp/util/file.cc b/src/main/cpp/util/file.cc index 16e8a08a52..3eb614c0dc 100644 --- a/src/main/cpp/util/file.cc +++ b/src/main/cpp/util/file.cc @@ -124,8 +124,8 @@ class DirectoryTreeWalker : public DirectoryEntryConsumer { _ForEachDirectoryEntry walk_entries) : _files(files), _walk_entries(walk_entries) {} - void Consume(const string &path, bool is_directory) override { - if (is_directory) { + void Consume(const string &path, bool follow_directory) override { + if (follow_directory) { Walk(path); } else { _files->push_back(path); |