Replace StringToInt with the std version.
Again, RageUtil isn't the right home.
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user