aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePlaylist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabasePlaylist.cxx')
-rw-r--r--src/DatabasePlaylist.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DatabasePlaylist.cxx b/src/DatabasePlaylist.cxx
index b0cb19589..a29c9f2bc 100644
--- a/src/DatabasePlaylist.cxx
+++ b/src/DatabasePlaylist.cxx
@@ -23,6 +23,7 @@
#include "PlaylistFile.hxx"
#include "DatabaseGlue.hxx"
#include "DatabasePlugin.hxx"
+#include "DetachedSong.hxx"
#include <functional>
@@ -30,7 +31,7 @@ static bool
AddSong(const char *playlist_path_utf8,
Song &song, Error &error)
{
- return spl_append_song(playlist_path_utf8, song, error);
+ return spl_append_song(playlist_path_utf8, DetachedSong(song), error);
}
bool