diff options
Diffstat (limited to 'FreeFileSync/Source/RealTimeSync/monitor.cpp')
-rw-r--r-- | FreeFileSync/Source/RealTimeSync/monitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeFileSync/Source/RealTimeSync/monitor.cpp b/FreeFileSync/Source/RealTimeSync/monitor.cpp index 63b35c91..da1061d3 100644 --- a/FreeFileSync/Source/RealTimeSync/monitor.cpp +++ b/FreeFileSync/Source/RealTimeSync/monitor.cpp @@ -118,7 +118,7 @@ std::set<Zstring, LessNativePath> waitForMissingDirs(const std::vector<Zstring>& DirWatcher::Change waitForChanges(const std::set<Zstring, LessNativePath>& folderPaths, //throw FileError const std::function<void(bool readyForSync)>& requestUiUpdate, std::chrono::milliseconds cbInterval) { - if (folderPaths.empty()) //pathological case, but we have to check else this function will wait endlessly + if (folderPaths.empty()) //pathological case, but we have to check or this function waits forever throw FileError(_("A folder input field is empty.")); //should have been checked by caller! std::vector<std::pair<Zstring, std::unique_ptr<DirWatcher>>> watches; |