aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Walk.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-27 18:04:24 +0100
committerMax Kellermann <max@duempel.org>2014-02-27 18:04:24 +0100
commit3f9ad8e104887bac46e778b0ee4c9ea298a488aa (patch)
tree74191db8a78c9f6a594f70eef995b5bd97e06829 /src/db/update/Walk.hxx
parent1c772ef69947127e01e7171b007a2295d51e7ae7 (diff)
downloadmpd-3f9ad8e104887bac46e778b0ee4c9ea298a488aa.tar.gz
mpd-3f9ad8e104887bac46e778b0ee4c9ea298a488aa.tar.xz
mpd-3f9ad8e104887bac46e778b0ee4c9ea298a488aa.zip
db/update/Service: allocate UpdateWalk dynamically
Diffstat (limited to '')
-rw-r--r--src/db/update/Walk.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/db/update/Walk.hxx b/src/db/update/Walk.hxx
index 353f6f3ed..cce276ab0 100644
--- a/src/db/update/Walk.hxx
+++ b/src/db/update/Walk.hxx
@@ -72,14 +72,6 @@ public:
}
/**
- * Call from the main thread before starting the update
- * thread.
- */
- void Prepare() {
- cancel = false;
- }
-
- /**
* Returns true if the database was modified.
*/
bool Walk(Directory &root, const char *path, bool discard);