mirror of https://github.com/axmolengine/axmol.git
use reference
This commit is contained in:
parent
240b922271
commit
21081b9e1a
|
@ -125,7 +125,7 @@ std::string FileUtilsAndroid::getNewFilename(const std::string &filename) const
|
|||
if (change)
|
||||
{
|
||||
newFileName.clear();
|
||||
for (auto s : v)
|
||||
for (auto &s : v)
|
||||
{
|
||||
newFileName.append(s);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue