summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-07 00:19:15 +0100
committerPierre Bourdon <delroth@gmail.com>2014-02-07 00:19:15 +0100
commit12d026c544748521332ad5edfaf123547fa18233 (patch)
tree97b2ffbe630c61ca2e4635152920324879d1e6ac /Source/Core/Common/StringUtil.cpp
parent6d678490f51cc0154a0bdedf9dce23c77fdfb991 (diff)
parent05742ffd488703f71462518957260f12cb657088 (diff)
Merge pull request #47 from lioncash/remove-stringfromint
Remove function StringFromInt from StringUtil.cpp/.h. C++11 has std::to_string for this now.
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
-rw-r--r--Source/Core/Common/StringUtil.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp
index 7ad4ac6ca5..a0a8c739ca 100644
--- a/Source/Core/Common/StringUtil.cpp
+++ b/Source/Core/Common/StringUtil.cpp
@@ -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";