simplify/optimize

This commit is contained in:
Glenn Maynard
2005-10-11 10:34:27 +00:00
parent 7a51f0e8cf
commit 6b5f23ef02
+2 -3
View File
@@ -94,12 +94,11 @@ static void SetString( const CString &s, int iStart, int iEnd, CString* ps, bool
XNode::XNode( const XNode &cpy ):
m_sName( cpy.m_sName ),
m_sValue( cpy.m_sValue )
m_sValue( cpy.m_sValue ),
m_attrs( cpy.m_attrs )
{
FOREACH_CONST_Child( &cpy, c )
this->AppendChild( new XNode(*c) );
FOREACH_CONST_Attr( &cpy, a )
this->AppendAttr( a->first, a->second );
}
XNode::~XNode()