aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DetachedSong.cxx')
-rw-r--r--src/DetachedSong.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DetachedSong.cxx b/src/DetachedSong.cxx
index e8b75f618..4e52afb0c 100644
--- a/src/DetachedSong.cxx
+++ b/src/DetachedSong.cxx
@@ -19,13 +19,13 @@
#include "config.h"
#include "DetachedSong.hxx"
-#include "Song.hxx"
+#include "LightSong.hxx"
#include "util/UriUtil.hxx"
#include "fs/Traits.hxx"
-DetachedSong::DetachedSong(const Song &other)
+DetachedSong::DetachedSong(const LightSong &other)
:uri(other.GetURI().c_str()),
- tag(other.tag),
+ tag(*other.tag),
mtime(other.mtime),
start_ms(other.start_ms), end_ms(other.end_ms) {}