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:
parent
66c013682f
commit
b161d72326
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue