Remove boost::lambda from transportsender.cc

This commit is contained in:
Keegan McAllister
2012-03-14 03:36:43 -04:00
committed by Keith Winstein
parent 8bc9aa33bf
commit 83694977a7
2 changed files with 8 additions and 5 deletions
+4
View File
@@ -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; }
};
}