diff options
author | Max Kellermann <max@duempel.org> | 2014-02-05 17:50:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-05 17:58:13 +0100 |
commit | 4c995eb49873eac081486a94c6ed8db566248563 (patch) | |
tree | 814bca7ff2a044b94d9e929aef028f34b471e3a0 /src/Instance.hxx | |
parent | 144cfe70bfb23ac5fdf328ed8b1492374d4b21f5 (diff) |
db/UpdateWalk: move LocalStorage to Instance
Keep only a reference.
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r-- | src/Instance.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index 52b137ab6..ca129ce80 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -31,6 +31,7 @@ class NeighborGlue; #ifdef ENABLE_DATABASE #include "db/DatabaseListener.hxx" class Database; +class LocalStorage; class UpdateService; #endif @@ -62,6 +63,8 @@ struct Instance final #ifdef ENABLE_DATABASE Database *database; + LocalStorage *storage; + UpdateService *update; #endif @@ -71,6 +74,7 @@ struct Instance final Instance() { #ifdef ENABLE_DATABASE + storage = nullptr; update = nullptr; #endif } |