aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/Walk.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/update/Walk.hxx')
-rw-r--r--src/db/update/Walk.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/db/update/Walk.hxx b/src/db/update/Walk.hxx
index c465ea7e1..33387ab55 100644
--- a/src/db/update/Walk.hxx
+++ b/src/db/update/Walk.hxx
@@ -22,7 +22,6 @@
#include "check.h"
#include "Editor.hxx"
-#include "storage/LocalStorage.hxx"
#include <sys/stat.h>
@@ -30,6 +29,7 @@ struct stat;
struct FileInfo;
struct Directory;
struct archive_plugin;
+class LocalStorage;
class ExcludeList;
class UpdateWalk final {
@@ -48,12 +48,13 @@ class UpdateWalk final {
bool walk_discard;
bool modified;
- LocalStorage storage;
+ LocalStorage &storage;
DatabaseEditor editor;
public:
- UpdateWalk(EventLoop &_loop, DatabaseListener &_listener);
+ UpdateWalk(EventLoop &_loop, DatabaseListener &_listener,
+ LocalStorage &_storage);
/**
* Returns true if the database was modified.