From c6499cf5dbfd6fd2ddeb31d53c8dfff91c109e29 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Fri, 31 May 2024 13:29:34 -0700 Subject: [PATCH] Remove unneeded != operator C++20 defines these implicitly --- pcbnew/pad.h | 1 - 1 file changed, 1 deletion(-) diff --git a/pcbnew/pad.h b/pcbnew/pad.h index bfab03a653..66cc4137a6 100644 --- a/pcbnew/pad.h +++ b/pcbnew/pad.h @@ -821,7 +821,6 @@ 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 ); }