diff options
author | Max Kellermann <max@musicpd.org> | 2018-07-06 16:43:11 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-07-06 16:47:47 +0200 |
commit | b9ff6383a4df993abeba2fe3d0cab3dee3760f40 (patch) | |
tree | 0520d4a0f5159963a0e30a55fb8228dc22e8ddf3 /src/queue | |
parent | ebc006ab529169d3d067231863ab7fc52fd9c49a (diff) |
db/LightSong: make Tag a reference
This enforces the "not nullptr" rule.
Diffstat (limited to 'src/queue')
-rw-r--r-- | src/queue/PlaylistUpdate.cxx | 2 |
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; |