diff options
Diffstat (limited to 'src/StateFile.cxx')
-rw-r--r-- | src/StateFile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StateFile.cxx b/src/StateFile.cxx index 4dd4d449b..b8ad82e01 100644 --- a/src/StateFile.cxx +++ b/src/StateFile.cxx @@ -119,7 +119,7 @@ try { TextFile file(config.path); #ifdef ENABLE_DATABASE - const SongLoader song_loader(partition.instance.database, + const SongLoader song_loader(partition.instance.GetDatabase(), partition.instance.storage); #else const SongLoader song_loader(nullptr, nullptr); |