summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-07-06 16:43:11 +0200
committerMax Kellermann <max@musicpd.org>2018-07-06 16:47:47 +0200
commitb9ff6383a4df993abeba2fe3d0cab3dee3760f40 (patch)
tree0520d4a0f5159963a0e30a55fb8228dc22e8ddf3 /src/queue
parentebc006ab529169d3d067231863ab7fc52fd9c49a (diff)
db/LightSong: make Tag a reference
This enforces the "not nullptr" rule.
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/PlaylistUpdate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/PlaylistUpdate.cxx b/src/queue/PlaylistUpdate.cxx
index a710a0c36..84e1e1b71 100644
--- a/src/queue/PlaylistUpdate.cxx
+++ b/src/queue/PlaylistUpdate.cxx
@@ -50,7 +50,7 @@ UpdatePlaylistSong(const Database &db, DetachedSong &song)
}
song.SetLastModified(original->mtime);
- song.SetTag(*original->tag);
+ song.SetTag(original->tag);
db.ReturnSong(original);
return true;