summaryrefslogtreecommitdiff
path: root/src/SongLoader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SongLoader.cxx')
-rw-r--r--src/SongLoader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SongLoader.cxx b/src/SongLoader.cxx
index 7d03ff075..72c035038 100644
--- a/src/SongLoader.cxx
+++ b/src/SongLoader.cxx
@@ -41,7 +41,7 @@ SongLoader::LoadFromDatabase(const char *uri) const
{
#ifdef ENABLE_DATABASE
if (db != nullptr)
- return DatabaseDetachSong(*db, *storage, uri);
+ return DatabaseDetachSong(*db, storage, uri);
#else
(void)uri;
#endif