diff options
Diffstat (limited to 'src/list.h')
-rw-r--r-- | src/list.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -240,7 +240,7 @@ namespace Bu | |||
240 | return *this; | 240 | return *this; |
241 | } | 241 | } |
242 | 242 | ||
243 | bool operator==( const MyType &rhs ) | 243 | bool operator==( const MyType &rhs ) const |
244 | { | 244 | { |
245 | if( getSize() != rhs.getSize() ) | 245 | if( getSize() != rhs.getSize() ) |
246 | return false; | 246 | return false; |
@@ -255,7 +255,7 @@ namespace Bu | |||
255 | return true; | 255 | return true; |
256 | } | 256 | } |
257 | 257 | ||
258 | bool operator!=( const MyType &rhs ) | 258 | bool operator!=( const MyType &rhs ) const |
259 | { | 259 | { |
260 | return !(*this == rhs); | 260 | return !(*this == rhs); |
261 | } | 261 | } |