fix _DEBUG compile errors
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include "AnnouncerManager.h"
|
#include "AnnouncerManager.h"
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
|
#include "RageFile.h"
|
||||||
|
|
||||||
AnnouncerManager* ANNOUNCER = NULL; // global object accessable from anywhere in the program
|
AnnouncerManager* ANNOUNCER = NULL; // global object accessable from anywhere in the program
|
||||||
|
|
||||||
|
|||||||
@@ -645,7 +645,7 @@ XNode *XNode::GetChild( const CString &sName )
|
|||||||
multimap<CString, XNode*>::iterator it = m_childs.find( sName );
|
multimap<CString, XNode*>::iterator it = m_childs.find( sName );
|
||||||
if( it != m_childs.end() )
|
if( it != m_childs.end() )
|
||||||
{
|
{
|
||||||
DEBUG_ASSERT( name == it->second->m_sName );
|
DEBUG_ASSERT( sName == it->second->m_sName );
|
||||||
return it->second;
|
return it->second;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -656,7 +656,7 @@ const XNode *XNode::GetChild( const CString &sName ) const
|
|||||||
multimap<CString, XNode*>::const_iterator it = m_childs.find( sName );
|
multimap<CString, XNode*>::const_iterator it = m_childs.find( sName );
|
||||||
if( it != m_childs.end() )
|
if( it != m_childs.end() )
|
||||||
{
|
{
|
||||||
DEBUG_ASSERT( name == it->second->m_sName );
|
DEBUG_ASSERT( sName == it->second->m_sName );
|
||||||
return it->second;
|
return it->second;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user