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/Config/Section.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/Config') diff --git a/Source/Core/Common/Config/Section.cpp b/Source/Core/Common/Config/Section.cpp index ac6741416a..7db2c557ea 100644 --- a/Source/Core/Common/Config/Section.cpp +++ b/Source/Core/Common/Config/Section.cpp @@ -71,7 +71,7 @@ void Section::Set(const std::string& key, double newValue) void Section::Set(const std::string& key, int newValue) { - Section::Set(key, StringFromInt(newValue)); + Section::Set(key, std::to_string(newValue)); } void Section::Set(const std::string& key, bool newValue) -- cgit v1.2.3