aboutsummaryrefslogtreecommitdiffstats
path: root/src/StateFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/StateFile.cxx')
-rw-r--r--src/StateFile.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/StateFile.cxx b/src/StateFile.cxx
index e46af1c3e..a1d8945c4 100644
--- a/src/StateFile.cxx
+++ b/src/StateFile.cxx
@@ -99,9 +99,10 @@ StateFile::Read()
}
#ifdef ENABLE_DATABASE
- const SongLoader song_loader(partition.instance.database);
+ const SongLoader song_loader(partition.instance.database,
+ partition.instance.storage);
#else
- const SongLoader song_loader(nullptr);
+ const SongLoader song_loader(nullptr, nullptr);
#endif
const char *line;