Integrate C++11 branch into 5_1-new

This commit is contained in:
teejusb
2019-06-22 12:35:38 -07:00
444 changed files with 19503 additions and 21007 deletions
+4 -4
View File
@@ -115,9 +115,9 @@ void SongOptions::GetMods( vector<RString> &AddTo ) const
void SongOptions::GetLocalizedMods( vector<RString> &v ) const
{
GetMods( v );
FOREACH( RString, v, s )
for (RString &s : v)
{
*s = CommonMetrics::LocalizeOptionItem( *s, true );
s = CommonMetrics::LocalizeOptionItem( s, true );
}
}
@@ -144,9 +144,9 @@ void SongOptions::FromString( const RString &sMultipleMods )
vector<RString> vs;
split( sTemp, ",", vs, true );
RString sThrowAway;
FOREACH( RString, vs, s )
for (RString &s : vs)
{
FromOneModString( *s, sThrowAway );
FromOneModString( s, sThrowAway );
}
}