aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/UpdateGlue.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-05 17:50:04 +0100
committerMax Kellermann <max@duempel.org>2014-02-05 17:58:13 +0100
commit4c995eb49873eac081486a94c6ed8db566248563 (patch)
tree814bca7ff2a044b94d9e929aef028f34b471e3a0 /src/db/update/UpdateGlue.cxx
parent144cfe70bfb23ac5fdf328ed8b1492374d4b21f5 (diff)
downloadmpd-4c995eb49873eac081486a94c6ed8db566248563.tar.gz
mpd-4c995eb49873eac081486a94c6ed8db566248563.tar.xz
mpd-4c995eb49873eac081486a94c6ed8db566248563.zip
db/UpdateWalk: move LocalStorage to Instance
Keep only a reference.
Diffstat (limited to '')
-rw-r--r--src/db/update/UpdateGlue.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/update/UpdateGlue.cxx b/src/db/update/UpdateGlue.cxx
index 41640e0ef..037d280b0 100644
--- a/src/db/update/UpdateGlue.cxx
+++ b/src/db/update/UpdateGlue.cxx
@@ -151,10 +151,11 @@ UpdateService::RunDeferred()
}
UpdateService::UpdateService(EventLoop &_loop, SimpleDatabase &_db,
+ LocalStorage &_storage,
DatabaseListener &_listener)
:DeferredMonitor(_loop), db(_db), listener(_listener),
progress(UPDATE_PROGRESS_IDLE),
update_task_id(0),
- walk(_loop, _listener)
+ walk(_loop, _listener, _storage)
{
}