diff options
Diffstat (limited to 'src/db/update/Service.hxx')
-rw-r--r-- | src/db/update/Service.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/db/update/Service.hxx b/src/db/update/Service.hxx index ebdda7bd1..e42a0fa5a 100644 --- a/src/db/update/Service.hxx +++ b/src/db/update/Service.hxx @@ -22,12 +22,13 @@ #include "check.h" #include "Queue.hxx" -#include "Walk.hxx" #include "event/DeferredMonitor.hxx" #include "thread/Thread.hxx" class SimpleDatabase; class DatabaseListener; +class UpdateWalk; +class Storage; /** * This class manages the update queue and runs the update thread. @@ -40,6 +41,7 @@ class UpdateService final : DeferredMonitor { }; SimpleDatabase &db; + Storage &storage; DatabaseListener &listener; @@ -57,7 +59,7 @@ class UpdateService final : DeferredMonitor { UpdateQueueItem next; - UpdateWalk walk; + UpdateWalk *walk; public: UpdateService(EventLoop &_loop, SimpleDatabase &_db, |