From 271e8ba3181bf50b778b7047c0069aea2200b49a Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 11 Apr 2017 15:09:09 -0400 Subject: [PATCH] Remove unused Action::operator== Signed-off-by: Anders Kaseorg --- src/terminal/parseraction.cc | 6 ------ src/terminal/parseraction.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/terminal/parseraction.cc b/src/terminal/parseraction.cc index c137838..676aec2 100644 --- a/src/terminal/parseraction.cc +++ b/src/terminal/parseraction.cc @@ -98,9 +98,3 @@ void Resize::act_on_terminal( Terminal::Emulator *emu ) const { emu->resize( width, height ); } - -bool Action::operator==( const Action &other ) const -{ - return ( char_present == other.char_present ) - && ( ch == other.ch ); -} diff --git a/src/terminal/parseraction.h b/src/terminal/parseraction.h index 393b839..61558d9 100644 --- a/src/terminal/parseraction.h +++ b/src/terminal/parseraction.h @@ -57,8 +57,6 @@ namespace Parser { Action() : ch( -1 ), char_present( false ) {}; virtual ~Action() {}; - - virtual bool operator==( const Action &other ) const; }; typedef shared::shared_ptr ActionPointer;