summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-07-05 13:49:33 +0200
committerLéo Lam <leo@innovatetechnologi.es>2017-07-05 13:49:33 +0200
commit90f8265497201619efffe9dc8a9ffc99ccb880b3 (patch)
tree777bf0dc6f7e1b55e77bc9d67c6df48527b79370 /Source/Core/Common/IniFile.cpp
parente0b94b55b87ce3e0698564a87773afa04459957b (diff)
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.
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
-rw-r--r--Source/Core/Common/IniFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp
index 5c38dd6a19..ddaf64b0e3 100644
--- a/Source/Core/Common/IniFile.cpp
+++ b/Source/Core/Common/IniFile.cpp
@@ -93,7 +93,7 @@ void IniFile::Section::Set(const std::string& key, double newValue)
void IniFile::Section::Set(const std::string& key, int newValue)
{
- Set(key, StringFromInt(newValue));
+ Set(key, std::to_string(newValue));
}
void IniFile::Section::Set(const std::string& key, s64 newValue)