aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateRemove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/UpdateRemove.cxx')
-rw-r--r--src/UpdateRemove.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/UpdateRemove.cxx b/src/UpdateRemove.cxx
index cc57fbe94..bed7a92ab 100644
--- a/src/UpdateRemove.cxx
+++ b/src/UpdateRemove.cxx
@@ -24,6 +24,7 @@
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "Song.hxx"
+#include "LightSong.hxx"
#include "Main.hxx"
#include "Instance.hxx"
#include "Log.hxx"
@@ -57,7 +58,7 @@ song_remove_event(void)
#ifdef ENABLE_SQLITE
/* if the song has a sticker, remove it */
if (sticker_enabled())
- sticker_song_delete(*removed_song);
+ sticker_song_delete(removed_song->Export());
#endif
{