diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-02-06 18:08:31 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-02-06 18:08:31 -0500 |
| commit | 05742ffd488703f71462518957260f12cb657088 (patch) | |
| tree | 96d6c0adcf7df081a5e208561f9077c3567ff7f5 /Source/Core/Common/StringUtil.cpp | |
| parent | 9a24ba343b254a85381d5e805477383c24aad534 (diff) | |
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.cpp | 7 |
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"; |
