Fix -Wpessimizing-move warning when using Xcode 8 (#16580)

This commit is contained in:
mogemimi 2016-09-15 02:45:26 +09:00 committed by Ricardo Quesada
parent afe8b05da8
commit 63637139dc
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ static std::string readFileContent(const std::string& filename, bool binary) {
if (binary)
fs->getContents(filename, &s);
else
s = std::move(fs->getStringFromFile(filename));
s = fs->getStringFromFile(filename);
return s;
};