CueParser: don't "move" the filename

This invalidated the std::string instance, and thus broke the CUE
parser (commit 322b061632).
This commit is contained in:
Max Kellermann 2014-01-26 14:58:23 +01:00
parent 66c013682f
commit b161d72326
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ CueParser::Feed2(char *p)
}
state = TRACK;
current = new DetachedSong(std::move(filename));
current = new DetachedSong(filename);
assert(!current->GetTag().IsDefined());
song_tag = header_tag;