diff options
author | B. Stack <bgstack15@gmail.com> | 2023-05-19 09:24:58 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-05-19 09:24:58 -0400 |
commit | 90bc692185a27f18acb6b029dfaf038e555ef8ff (patch) | |
tree | fdb56193bab28d36a4c6723bf847f3aa2ce36a9b /zen/dir_watcher.cpp | |
parent | add upstream 12.2 (diff) | |
download | FreeFileSync-90bc692185a27f18acb6b029dfaf038e555ef8ff.tar.gz FreeFileSync-90bc692185a27f18acb6b029dfaf038e555ef8ff.tar.bz2 FreeFileSync-90bc692185a27f18acb6b029dfaf038e555ef8ff.zip |
add upstream 12.312.3
Diffstat (limited to 'zen/dir_watcher.cpp')
-rw-r--r-- | zen/dir_watcher.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/zen/dir_watcher.cpp b/zen/dir_watcher.cpp index 235c466c..dccc149d 100644 --- a/zen/dir_watcher.cpp +++ b/zen/dir_watcher.cpp @@ -40,11 +40,11 @@ DirWatcher::DirWatcher(const Zstring& dirPath) : //throw FileError traverse = [&traverse, &fullFolderList](const Zstring& path) //throw FileError { traverseFolder(path, nullptr, - [&](const FolderInfo& fi ) - { - fullFolderList.push_back(fi.fullPath); - traverse(fi.fullPath); //throw FileError - }, + [&](const FolderInfo& fi ) + { + fullFolderList.push_back(fi.fullPath); + traverse(fi.fullPath); //throw FileError + }, nullptr /*don't traverse into symlinks (analog to Windows)*/); //throw FileError }; |