summaryrefslogtreecommitdiff
path: root/zen/dir_watcher.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2017-01-09 10:54:11 +0100
committerDaniel Wilhelm <shieldwed@outlook.com>2017-01-09 10:54:11 +0100
commit6011596a2f247bde24095e985f6e2547e4b191ef (patch)
tree296003a2c8952f41b2998653ba02911ba2b83b0a /zen/dir_watcher.cpp
parent8.7 (diff)
downloadFreeFileSync-6011596a2f247bde24095e985f6e2547e4b191ef.tar.gz
FreeFileSync-6011596a2f247bde24095e985f6e2547e4b191ef.tar.bz2
FreeFileSync-6011596a2f247bde24095e985f6e2547e4b191ef.zip
8.8
Diffstat (limited to 'zen/dir_watcher.cpp')
-rw-r--r--zen/dir_watcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/dir_watcher.cpp b/zen/dir_watcher.cpp
index 98190bba..79e8aeb7 100644
--- a/zen/dir_watcher.cpp
+++ b/zen/dir_watcher.cpp
@@ -396,7 +396,7 @@ DirWatcher::DirWatcher(const Zstring& dirPath) : //throw FileError
traverse = [&traverse, &fullFolderList](const Zstring& path)
{
traverseFolder(path, nullptr,
- [&](const DirInfo& di ) { fullFolderList.push_back(di.fullPath); traverse(di.fullPath); },
+ [&](const FolderInfo& fi ) { fullFolderList.push_back(fi.fullPath); traverse(fi.fullPath); },
nullptr, //don't traverse into symlinks (analog to windows build)
[&](const std::wstring& errorMsg) { throw FileError(errorMsg); });
};
bgstack15