Remove unused Action::operator==
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
John Hood
parent
2b724d5868
commit
271e8ba318
@@ -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 );
|
||||
}
|
||||
|
||||
@@ -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<Action> ActionPointer;
|
||||
|
||||
Reference in New Issue
Block a user