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
+3 -3
View File
@@ -32,9 +32,9 @@ void ScreenDemonstration::Init()
vector<RString> v;
split( ALLOW_STYLE_TYPES, ",", v );
vector<StyleType> vStyleTypeAllow;
FOREACH_CONST( RString, v, s )
for (RString const &s : v)
{
StyleType st = StringToStyleType( *s );
StyleType st = StringToStyleType( s );
ASSERT( st != StyleType_Invalid );
vStyleTypeAllow.push_back( st );
}
@@ -57,7 +57,7 @@ void ScreenDemonstration::Init()
ScreenJukebox::Init();
if( GAMESTATE->m_pCurSong == NULL ) // we didn't find a song.
if( GAMESTATE->m_pCurSong == nullptr ) // we didn't find a song.
{
PostScreenMessage( SM_GoToNextScreen, 0 ); // Abort demonstration.
return;