From b161d723269d851a2d237880b8f5149b58b736c2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Jan 2014 14:58:23 +0100 Subject: [PATCH] CueParser: don't "move" the filename This invalidated the std::string instance, and thus broke the CUE parser (commit 322b061632). --- src/cue/CueParser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;