Revert "Remove unneeded != operator"

MSVC errors when we don't keep this operator.

This reverts commit c6499cf5db.
This commit is contained in:
Seth Hillbrand 2024-05-31 17:38:45 -07:00
parent e8c96a8a20
commit ae232054f7
1 changed files with 1 additions and 0 deletions

View File

@ -821,6 +821,7 @@ public:
double Similarity( const BOARD_ITEM& aOther ) const override; double Similarity( const BOARD_ITEM& aOther ) const override;
bool operator==( const BOARD_ITEM& aOther ) const override; bool operator==( const BOARD_ITEM& aOther ) const override;
bool operator!=( const BOARD_ITEM& aOther ) const { return !operator==( aOther ); }
#if defined(DEBUG) #if defined(DEBUG)
virtual void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); } virtual void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }