mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Avoid std::move() for copy elision
This could disable zero-copy optimisations, which is the opposite of what we want.
This commit is contained in:
parent
586fe11e22
commit
9d1b7af2eb
2 changed files with 5 additions and 5 deletions
|
@ -402,7 +402,7 @@ std::vector<std::string> fmt::split(const std::string& source, std::initializer_
|
|||
result.push_back(source.substr(cursor_begin));
|
||||
}
|
||||
|
||||
return std::move(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string fmt::trim(const std::string& source, const std::string& values)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue