filesystem/Path: use std::string

This commit is contained in:
Max Kellermann
2013-10-01 18:35:37 +02:00
parent b21ed2fa36
commit 43675717b8
4 changed files with 45 additions and 81 deletions

View File

@@ -426,7 +426,7 @@ decoder_run(struct decoder_control *dc)
assert(song != NULL);
if (song->IsFile())
uri = map_song_fs(song).Steal();
uri = g_strdup(map_song_fs(song).c_str());
else
uri = song->GetURI();