Relax assertions on equality
This commit is contained in:
@@ -44,6 +44,6 @@ void Complete::apply_string( string diff )
|
||||
|
||||
bool Complete::operator==( Complete const &x ) const
|
||||
{
|
||||
assert( parser == x.parser );
|
||||
// assert( parser == x.parser ); /* parser state is irrelevant for us */
|
||||
return terminal == x.terminal;
|
||||
}
|
||||
|
||||
+2
-1
@@ -155,5 +155,6 @@ void Emulator::resize( size_t s_width, size_t s_height )
|
||||
|
||||
bool Emulator::operator==( Emulator const &x ) const
|
||||
{
|
||||
return ( dispatch == x.dispatch ) && ( user == x.user ) && ( fb == x.fb );
|
||||
/* dispatcher and user are irrelevant for us */
|
||||
return ( fb == x.fb );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user