diff options
author | Max Kellermann <max@duempel.org> | 2014-02-04 10:09:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-04 11:22:32 +0100 |
commit | f00710a57e80738c33255eaa1347ab776fbce869 (patch) | |
tree | 103dc00cbc4c4a0f6511e0593afa94d0a2d21456 /src/Instance.hxx | |
parent | c9539043433678f4cf5e09443f880f64f61c6fef (diff) |
Main: create UpdateService instance in glue_db_init_and_load()
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r-- | src/Instance.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index a2c141dc7..ea60072cb 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -62,6 +62,12 @@ struct Instance final Partition *partition; + Instance() { +#ifdef ENABLE_DATABASE + update = nullptr; +#endif + } + #ifdef ENABLE_DATABASE void DeleteSong(const char *uri); |