From 4c995eb49873eac081486a94c6ed8db566248563 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 5 Feb 2014 17:50:04 +0100 Subject: db/UpdateWalk: move LocalStorage to Instance Keep only a reference. --- src/Instance.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Instance.hxx') 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 } -- cgit v1.2.3