diff options
author | Max Kellermann <max@duempel.org> | 2014-01-26 14:58:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-26 14:58:23 +0100 |
commit | b161d723269d851a2d237880b8f5149b58b736c2 (patch) | |
tree | 3d00ad2b133db653cd0fbd67e966b4ae797feab3 /src/cue | |
parent | 66c013682fb15d5aa1d9d4d3a93275bea76d6402 (diff) |
CueParser: don't "move" the filename
This invalidated the std::string instance, and thus broke the CUE
parser (commit 322b061632).
Diffstat (limited to 'src/cue')
-rw-r--r-- | src/cue/CueParser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cue/CueParser.cxx b/src/cue/CueParser.cxx index c81ad89ee..dc96218f4 100644 --- a/src/cue/CueParser.cxx +++ b/src/cue/CueParser.cxx @@ -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; |