operator== is always const

This commit is contained in:
Glenn Maynard
2004-01-18 07:44:39 +00:00
parent 6781f47973
commit 333e32ef25
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ void SongOptions::FromString( CString sOptions )
}
}
bool SongOptions::operator==( const SongOptions &other )
bool SongOptions::operator==( const SongOptions &other ) const
{
#define COMPARE(x) { if( x != other.x ) return false; }
COMPARE( m_LifeType );