summaryrefslogtreecommitdiff
path: root/RealtimeSync/watcher.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:09:02 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:09:02 +0200
commit62490fd57f403da83fc5dd6e5ec2f3fcfa8c47cb (patch)
tree8485ba5ea0f88050714350dfbdc13486037cdb2e /RealtimeSync/watcher.cpp
parent3.10 (diff)
downloadFreeFileSync-62490fd57f403da83fc5dd6e5ec2f3fcfa8c47cb.tar.gz
FreeFileSync-62490fd57f403da83fc5dd6e5ec2f3fcfa8c47cb.tar.bz2
FreeFileSync-62490fd57f403da83fc5dd6e5ec2f3fcfa8c47cb.zip
3.11
Diffstat (limited to 'RealtimeSync/watcher.cpp')
-rw-r--r--RealtimeSync/watcher.cpp4
1 files changed, 2 insertions, 2 deletions
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<ReturnValDir::TRAVERSING_DIR_CONTINUE>(), this);
+ return ReturnValDir(Loki::Int2Type<ReturnValDir::TRAVERSING_DIR_CONTINUE>(), *this);
}
virtual void onError(const wxString& errorText)
{
@@ -247,7 +247,7 @@ rts::WaitResult rts::waitForChanges(const std::vector<Zstring>& 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&)
{
bgstack15