This commit is contained in:
Glenn Maynard
2006-10-06 06:46:17 +00:00
parent 9826c3c298
commit 662f006c0e
+2 -2
View File
@@ -137,11 +137,11 @@ bool XNode::RemoveAttr( const RString &sName )
{
XAttrs::iterator it = m_attrs.find( sName );
if( it == m_attrs.end() )
return false;
return false;
delete it->second;
m_attrs.erase( it );
return true;
return true;
}
/* If bOverwrite is true and a node already exists with that name, the old value will be deleted.