From aa5aff643f5ad3390da4427338fdcccb48a439a2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 20 May 2005 00:28:41 +0000 Subject: [PATCH] fix const fix signed warning --- stepmania/src/TimingData.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stepmania/src/TimingData.h b/stepmania/src/TimingData.h index 300998c53f..ddb0171ec5 100644 --- a/stepmania/src/TimingData.h +++ b/stepmania/src/TimingData.h @@ -17,13 +17,13 @@ struct BPMSegment void SetBPM( float f ); float GetBPM() const; - bool operator==( const BPMSegment &other ) + bool operator==( const BPMSegment &other ) const { COMPARE( m_iStartIndex ); COMPARE( m_fBPS ); return true; } - bool operator!=( const BPMSegment &other ) { return !operator==(other); } + bool operator!=( const BPMSegment &other ) const { return !operator==(other); } }; struct StopSegment @@ -33,13 +33,13 @@ struct StopSegment int m_iStartRow; float m_fStopSeconds; - bool operator==( const StopSegment &other ) + bool operator==( const StopSegment &other ) const { COMPARE( m_iStartRow ); COMPARE( m_fStopSeconds ); return true; } - bool operator!=( const StopSegment &other ) { return !operator==(other); } + bool operator!=( const StopSegment &other ) const { return !operator==(other); } }; class TimingData @@ -71,10 +71,10 @@ public: bool operator==( const TimingData &other ) { COMPARE( m_BPMSegments.size() ); - for( int i=0; i