aboutsummaryrefslogtreecommitdiffstats
path: root/src/DetachedSong.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DetachedSong.cxx')
-rw-r--r--src/DetachedSong.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DetachedSong.cxx b/src/DetachedSong.cxx
index 4b1d51a41..e8b75f618 100644
--- a/src/DetachedSong.cxx
+++ b/src/DetachedSong.cxx
@@ -25,7 +25,7 @@
DetachedSong::DetachedSong(const Song &other)
:uri(other.GetURI().c_str()),
- tag(other.tag != nullptr ? *other.tag : Tag()),
+ tag(other.tag),
mtime(other.mtime),
start_ms(other.start_ms), end_ms(other.end_ms) {}