fix _DEBUG compile errors

This commit is contained in:
Chris Danford
2005-09-04 16:45:38 +00:00
parent 5dd7b77246
commit c414d1bcf8
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -645,7 +645,7 @@ XNode *XNode::GetChild( const CString &sName )
multimap<CString, XNode*>::iterator it = m_childs.find( sName );
if( it != m_childs.end() )
{
DEBUG_ASSERT( name == it->second->m_sName );
DEBUG_ASSERT( sName == it->second->m_sName );
return it->second;
}
return NULL;
@@ -656,7 +656,7 @@ const XNode *XNode::GetChild( const CString &sName ) const
multimap<CString, XNode*>::const_iterator it = m_childs.find( sName );
if( it != m_childs.end() )
{
DEBUG_ASSERT( name == it->second->m_sName );
DEBUG_ASSERT( sName == it->second->m_sName );
return it->second;
}
return NULL;