DespotifyUtils: return Tag, not pointer

This commit is contained in:
Max Kellermann
2014-01-08 19:21:48 +01:00
parent 89a78a5f3c
commit 2071070f39
4 changed files with 12 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ add_song(std::forward_list<SongPointer> &songs, ds_track &track)
}
song = Song::NewRemote(uri);
song->tag = mpd_despotify_tag_from_track(track);
song->tag = new Tag(mpd_despotify_tag_from_track(track));
songs.emplace_front(song);
}