summaryrefslogtreecommitdiff
path: root/src/cue
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-26 14:58:23 +0100
committerMax Kellermann <max@duempel.org>2014-01-26 14:58:23 +0100
commitb161d723269d851a2d237880b8f5149b58b736c2 (patch)
tree3d00ad2b133db653cd0fbd67e966b4ae797feab3 /src/cue
parent66c013682fb15d5aa1d9d4d3a93275bea76d6402 (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.cxx2
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;