Replace StringToInt with the std version.

Again, RageUtil isn't the right home.
This commit is contained in:
Jason Felds
2013-05-04 11:59:25 -04:00
parent af3890f504
commit f5c877cbb6
26 changed files with 2498 additions and 2509 deletions
+1 -1
View File
@@ -429,7 +429,7 @@ bool ProfileManager::CreateLocalProfile( RString sName, RString &sProfileIDOut )
vector<RString> vs;
GetLocalProfileIDs( vs );
for (RString const &s : vs)
iMaxProfileNumber = StringToInt( s );
iMaxProfileNumber = std::stoi( s );
int iProfileNumber = iMaxProfileNumber + 1;
RString sProfileID = ssprintf( "%08d", iProfileNumber );