mirror of https://github.com/snes9xgit/snes9x.git
Don't use move on return value.
This commit is contained in:
parent
848bb64d52
commit
0e559cd046
|
@ -273,7 +273,7 @@ static std::string canonicalize(const std::string &noncanonical)
|
|||
char *temp = realpath(noncanonical.c_str(), NULL);
|
||||
std::string filename_string(temp);
|
||||
free(temp);
|
||||
return std::move(filename_string);
|
||||
return filename_string;
|
||||
}
|
||||
|
||||
// filename must be canonical
|
||||
|
|
Loading…
Reference in New Issue