aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Queue.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/update/Queue.hxx')
-rw-r--r--src/db/update/Queue.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/update/Queue.hxx b/src/db/update/Queue.hxx
index a5b2aa9ac..eb0b268bf 100644
--- a/src/db/update/Queue.hxx
+++ b/src/db/update/Queue.hxx
@@ -50,6 +50,10 @@ public:
bool Push(const char *path, bool discard, unsigned id);
UpdateQueueItem Pop();
+
+ void Clear() {
+ update_queue = decltype(update_queue)();
+ }
};
#endif