Fix return-value-optimization errors

This commit is contained in:
Alexander Bock
2014-12-09 19:39:16 +01:00
parent 7226b23cc0
commit f201d4a622
4 changed files with 6 additions and 5 deletions

View File

@@ -522,7 +522,7 @@ bool ScriptEngine::writeDocumentation(const std::string& filename, const std::st
if (!library.empty())
total += std::move(library) + ".";
total += std::move(function);
return std::move(total);
return total;
};
// Settings