diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-07-05 17:36:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-05 17:36:07 +0200 |
| commit | 24f05f14f2760f2ca5b592a8d9b0da022f9bc45a (patch) | |
| tree | dd24b167d5c66b4bdebecb0c08dd7e4879977207 /Source/Core/Common/StringUtil.cpp | |
| parent | d498a9b3d5ce36ddc346396fae933a6b49537741 (diff) | |
| parent | 90f8265497201619efffe9dc8a9ffc99ccb880b3 (diff) | |
Merge pull request #5752 from leoetlino/to_string
Replace StringFromInt with std::to_string
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 1536173eb7..03e6bb3d45 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -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"; |
