Remove boost::lambda from transportsender.cc
This commit is contained in:
committed by
Keith Winstein
parent
8bc9aa33bf
commit
83694977a7
@@ -31,6 +31,10 @@ namespace Network {
|
||||
TimestampedState( uint64_t s_timestamp, uint64_t s_num, State &s_state )
|
||||
: timestamp( s_timestamp ), num( s_num ), state( s_state )
|
||||
{}
|
||||
|
||||
/* For use with find_if, remove_if */
|
||||
bool num_eq( uint64_t v ) const { return num == v; }
|
||||
bool num_lt( uint64_t v ) const { return num < v; }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user