Use shared_ptr and references for Actions.
This slows terminal emulation slightly.
This commit is contained in:
@@ -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;
|
||||
const Parser::Action &get_action( unsigned int i ) const;
|
||||
|
||||
/* interface for Network::Transport */
|
||||
void subtract( const UserStream *prefix );
|
||||
|
||||
Reference in New Issue
Block a user