summaryrefslogtreecommitdiff
path: root/src/StateFile.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-12-18 23:48:14 +0100
committerMax Kellermann <max@musicpd.org>2017-12-18 23:48:14 +0100
commitb9659ba0c083e10bbe17d75c21d0032ef4928f5b (patch)
treed7c8a7bb94819a16f2fd28a0183f54fe1ea06cb2 /src/StateFile.hxx
parentb6af7abb1ab53bc62a9d190f19331ad5e3794d93 (diff)
parent49b9a90c3f63639a02bc4817a869a2684d4383c0 (diff)
Merge tag 'v0.20.13'
release v0.20.13
Diffstat (limited to 'src/StateFile.hxx')
-rw-r--r--src/StateFile.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/StateFile.hxx b/src/StateFile.hxx
index 3eba7f620..ed0f9fcef 100644
--- a/src/StateFile.hxx
+++ b/src/StateFile.hxx
@@ -47,6 +47,10 @@ class StateFile final {
unsigned prev_volume_version = 0, prev_output_version = 0,
prev_playlist_version = 0;
+#ifdef ENABLE_DATABASE
+ unsigned prev_storage_version = 0;
+#endif
+
public:
static constexpr std::chrono::steady_clock::duration DEFAULT_INTERVAL = std::chrono::minutes(2);