@@ -70,7 +70,7 @@ namespace Terminal {
|
||||
int wait_time( uint64_t now ) const;
|
||||
|
||||
/* interface for Network::Transport */
|
||||
void subtract( const Complete * ) {}
|
||||
void subtract( const Complete * ) const {}
|
||||
std::string diff_from( const Complete &existing ) const;
|
||||
void apply_string( std::string diff );
|
||||
bool operator==( const Complete &x ) const;
|
||||
|
||||
@@ -123,7 +123,7 @@ void UserStream::apply_string( string diff )
|
||||
}
|
||||
}
|
||||
|
||||
const Parser::Action *UserStream::get_action( unsigned int i )
|
||||
const Parser::Action *UserStream::get_action( unsigned int i ) const
|
||||
{
|
||||
switch( actions[ i ].type ) {
|
||||
case UserByteType:
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace Network {
|
||||
|
||||
bool empty( void ) const { return actions.empty(); }
|
||||
size_t size( void ) const { return actions.size(); }
|
||||
const Parser::Action *get_action( unsigned int i );
|
||||
const Parser::Action *get_action( unsigned int i ) const;
|
||||
|
||||
/* interface for Network::Transport */
|
||||
void subtract( const UserStream *prefix );
|
||||
@@ -92,7 +92,7 @@ namespace Network {
|
||||
void apply_string( string diff );
|
||||
bool operator==( const UserStream &x ) const { return actions == x.actions; }
|
||||
|
||||
bool compare( const UserStream & ) const { return false; }
|
||||
bool compare( const UserStream & ) { return false; }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user