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
+2 -2
View File
@@ -32,7 +32,7 @@ void MeterDisplay::LoadFromNode( const XNode* pNode )
LOG->Trace( "MeterDisplay::LoadFromNode(%s)", ActorUtil::GetWhere(pNode).c_str() );
const XNode *pStream = pNode->GetChild( "Stream" );
if( pStream == NULL )
if( pStream == nullptr )
{
LuaHelpers::ReportScriptErrorFmt("%s: MeterDisplay: missing the \"Stream\" attribute", ActorUtil::GetWhere(pNode).c_str());
return;
@@ -43,7 +43,7 @@ void MeterDisplay::LoadFromNode( const XNode* pNode )
this->AddChild( m_sprStream );
const XNode* pChild = pNode->GetChild( "Tip" );
if( pChild != NULL )
if( pChild != nullptr )
{
m_sprTip.LoadActorFromNode( pChild, this );
m_sprTip->SetName( "Tip" );