From 6b5f23ef02b444aac1b2daf8fe5f5bf2f9d96a02 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 11 Oct 2005 10:34:27 +0000 Subject: [PATCH] simplify/optimize --- stepmania/src/XmlFile.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/stepmania/src/XmlFile.cpp b/stepmania/src/XmlFile.cpp index 4fec75c1dd..6166c2d083 100644 --- a/stepmania/src/XmlFile.cpp +++ b/stepmania/src/XmlFile.cpp @@ -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()