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.
This commit is contained in:
Léo Lam
2017-07-05 13:49:33 +02:00
parent e0b94b55b8
commit 90f8265497
5 changed files with 4 additions and 11 deletions

View File

@ -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)