Commit b161d723 authored by Max Kellermann's avatar Max Kellermann

CueParser: don't "move" the filename

This invalidated the std::string instance, and thus broke the CUE parser (commit 322b0616).
parent 66c01368
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment