mirror of https://github.com/axmolengine/axmol.git
Fix -Wpessimizing-move warning when using Xcode 8 (#16580)
This commit is contained in:
parent
afe8b05da8
commit
63637139dc
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue