From ff626ac76357940b2f0ac5cb243a68ac13df0f8a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:48:38 +0200 Subject: *: use references instead of pointers --- src/PlaylistSong.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PlaylistSong.cxx') diff --git a/src/PlaylistSong.cxx b/src/PlaylistSong.cxx index b7a2e441c..ce60174fe 100644 --- a/src/PlaylistSong.cxx +++ b/src/PlaylistSong.cxx @@ -64,7 +64,7 @@ apply_song_metadata(Song *dest, const Song *src) return dest; if (dest->IsInDatabase()) { - const auto path_fs = map_song_fs(dest); + const auto path_fs = map_song_fs(*dest); if (path_fs.IsNull()) return dest; -- cgit v1.2.3