summaryrefslogtreecommitdiff
path: root/zen/dir_watcher.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:52:04 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:52:04 +0200
commit1845c028b8cb8496d1d78f0da738120e1c31401a (patch)
treeadf9fb436aea09be367aef8ed3b6cdbf6a46e34c /zen/dir_watcher.h
parent6.7 (diff)
downloadFreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.tar.gz
FreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.tar.bz2
FreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.zip
6.8
Diffstat (limited to 'zen/dir_watcher.h')
-rw-r--r--zen/dir_watcher.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zen/dir_watcher.h b/zen/dir_watcher.h
index bc9714a0..99131470 100644
--- a/zen/dir_watcher.h
+++ b/zen/dir_watcher.h
@@ -49,18 +49,18 @@ public:
struct Entry
{
Entry() : action_(ACTION_CREATE) {}
- Entry(ActionType action, const Zstring& filename) : action_(action), filename_(filename) {}
+ Entry(ActionType action, const Zstring& filepath) : action_(action), filepath_(filepath) {}
ActionType action_;
- Zstring filename_;
+ Zstring filepath_;
};
//extract accumulated changes since last call
std::vector<Entry> getChanges(const std::function<void()>& processGuiMessages); //throw FileError
private:
- DirWatcher(const DirWatcher&);
- DirWatcher& operator=(const DirWatcher&);
+ DirWatcher (const DirWatcher&) = delete;
+ DirWatcher& operator=(const DirWatcher&) = delete;
struct Pimpl;
std::unique_ptr<Pimpl> pimpl_;
bgstack15