From f0fe542b2f03f8f24ed6e953cf2c0d2e921b156b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 2 Oct 2006 06:25:28 +0000 Subject: [PATCH] remove bool overload. It's being used instead of the RString one for string constants. --- stepmania/src/XmlFile.cpp | 1 - stepmania/src/XmlFile.h | 1 - 2 files changed, 2 deletions(-) diff --git a/stepmania/src/XmlFile.cpp b/stepmania/src/XmlFile.cpp index 70c350d5d1..e8dff78a09 100644 --- a/stepmania/src/XmlFile.cpp +++ b/stepmania/src/XmlFile.cpp @@ -52,7 +52,6 @@ bool XNode::GetAttrValue( const RString &sName, DateTime &out ) const { const RS void XNode::SetValue( const RString &v ) { m_sValue = v; } void XNode::SetValue( int v ) { m_sValue = ssprintf("%d",v); } void XNode::SetValue( float v ) { m_sValue = ssprintf("%f",v); } -void XNode::SetValue( bool v ) { m_sValue = ssprintf("%d",v); } void XNode::SetValue( unsigned v ) { m_sValue = ssprintf("%u",v); } void XNode::SetValue( const DateTime &v ) { m_sValue = v.GetString(); } diff --git a/stepmania/src/XmlFile.h b/stepmania/src/XmlFile.h index bf368059b0..22af3794bd 100644 --- a/stepmania/src/XmlFile.h +++ b/stepmania/src/XmlFile.h @@ -56,7 +56,6 @@ public: void SetValue( const RString &v ); void SetValue( int v ); void SetValue( float v ); - void SetValue( bool v ); void SetValue( unsigned v ); void SetValue( const DateTime &v );