From 62490fd57f403da83fc5dd6e5ec2f3fcfa8c47cb Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:09:02 +0200 Subject: 3.11 --- RealtimeSync/watcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'RealtimeSync/watcher.cpp') diff --git a/RealtimeSync/watcher.cpp b/RealtimeSync/watcher.cpp index cf2791ad..e9793545 100644 --- a/RealtimeSync/watcher.cpp +++ b/RealtimeSync/watcher.cpp @@ -64,7 +64,7 @@ public: virtual ReturnValDir onDir(const Zchar* shortName, const Zstring& fullName) { m_dirs.push_back(fullName.c_str()); - return ReturnValDir(Loki::Int2Type(), this); + return ReturnValDir(Loki::Int2Type(), *this); } virtual void onError(const wxString& errorText) { @@ -247,7 +247,7 @@ rts::WaitResult rts::waitForChanges(const std::vector& dirNames, WaitCa try //get all subdirectories { DirsOnlyTraverser traverser(fullDirList); - ffs3::traverseFolder(formattedDir, false, &traverser); //don't traverse into symlinks (analog to windows build) + ffs3::traverseFolder(formattedDir, false, traverser); //don't traverse into symlinks (analog to windows build) } catch (const ffs3::FileError&) { -- cgit