diff --git a/react_juce/core/EcmascriptEngine.cpp b/react_juce/core/EcmascriptEngine.cpp index f24059fb..d0c97abf 100644 --- a/react_juce/core/EcmascriptEngine.cpp +++ b/react_juce/core/EcmascriptEngine.cpp @@ -153,7 +153,7 @@ namespace reactjuce { if (!i.isString()) return false; - sources.emplace_back(std::move(i.toString())); + sources.push_back(i.toString()); } bool firstSegmentInLine = true; @@ -182,7 +182,7 @@ namespace reactjuce if (*p == ';') { - mappings.emplace_back(std::move(lineSegments)); + mappings.push_back(std::move(lineSegments)); firstSegmentInLine = true; } }