From ae232054f7198ccdbd1c73ebb4511c7a6392b77a Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 31 May 2024 17:38:45 -0700 Subject: [PATCH] Revert "Remove unneeded != operator" MSVC errors when we don't keep this operator. This reverts commit c6499cf5dbfd6fd2ddeb31d53c8dfff91c109e29. --- pcbnew/pad.h | 1 + 1 file changed, 1 insertion(+) 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 ); }