mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
[Config] Use std::less<> for std::map<...>
Reduces amount of string copies [Utilities] fmt::replace_all: avoid creation of temporary strings
This commit is contained in:
parent
2981867375
commit
cccfb89aa0
14 changed files with 80 additions and 62 deletions
|
@ -122,7 +122,7 @@ namespace program_common
|
|||
" return result;\n"
|
||||
"}\n\n";
|
||||
|
||||
std::pair<std::string, std::string> replacements[] =
|
||||
std::pair<std::string_view, std::string> replacements[] =
|
||||
{std::make_pair("$T", wide_vector_type),
|
||||
std::make_pair("$I", input_coord)};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue