mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Replace StringFromInt with std::to_string
Updated version of #47. Android should support to_string now that we use a modern version of libc++ when building.
This commit is contained in:
parent
e0b94b55b8
commit
90f8265497
5 changed files with 4 additions and 11 deletions
|
@ -283,13 +283,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