Remove function StringFromInt from StringUtil.cpp/.h. C++11 has std::to_string for this now.

This commit is contained in:
Lioncash
2014-02-06 18:08:31 -05:00
parent 9a24ba343b
commit 05742ffd48
3 changed files with 1 additions and 9 deletions

View File

@ -56,7 +56,7 @@ public:
void Set(const char* key, int newValue, int defaultValue);
void Set(const char* key, int newValue) {
Set(key, StringFromInt(newValue).c_str());
Set(key, std::to_string(newValue).c_str());
}
void Set(const char* key, bool newValue, bool defaultValue);