From 90f8265497201619efffe9dc8a9ffc99ccb880b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Wed, 5 Jul 2017 13:49:33 +0200 Subject: 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. --- Source/Core/Common/StringUtil.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Source/Core/Common/StringUtil.cpp') 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"; -- cgit v1.2.3