diff --git a/pcbnew/pad.h b/pcbnew/pad.h index 66cc4137a6..bfab03a653 100644 --- a/pcbnew/pad.h +++ b/pcbnew/pad.h @@ -821,6 +821,7 @@ public: double Similarity( 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) virtual void Show( int nestLevel, std::ostream& os ) const override { ShowDummy( os ); }