mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Remove function StringFromInt from StringUtil.cpp/.h. C++11 has std::to_string for this now.
This commit is contained in:
parent
9a24ba343b
commit
05742ffd48
3 changed files with 1 additions and 9 deletions
|
@ -185,13 +185,6 @@ bool TryParse(const std::string &str, bool *const output)
|
|||
return true;
|
||||
}
|
||||
|
||||
std::string StringFromInt(int value)
|
||||
{
|
||||
char temp[16];
|
||||
sprintf(temp, "%i", value);
|
||||
return temp;
|
||||
}
|
||||
|
||||
std::string StringFromBool(bool value)
|
||||
{
|
||||
return value ? "True" : "False";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue