mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Fix some warnings
reorder, sign-compare, pessimizing-move
This commit is contained in:
parent
8d72145c44
commit
5a05187b3b
4 changed files with 5 additions and 6 deletions
|
@ -113,7 +113,7 @@ std::string StringFromFormat(const char* format, ...)
|
|||
va_start(args, format);
|
||||
std::string res = StringFromFormatV(format, args);
|
||||
va_end(args);
|
||||
return std::move(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
std::string StringFromFormatV(const char* format, va_list args)
|
||||
|
@ -139,7 +139,7 @@ std::string StringFromFormatV(const char* format, va_list args)
|
|||
std::string temp = buf;
|
||||
free(buf);
|
||||
#endif
|
||||
return std::move(temp);
|
||||
return temp;
|
||||
}
|
||||
|
||||
// For Debugging. Read out an u8 array.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue