- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
std::list< Candidate* >::iterator it = order_by_priority.begin();
while( ( speed < (*it)->minspeed ) || ( speed > (*it)->maxspeed ) ){
++it;
if( it == order_by_priority.end() )
break;
}
if( it == order_by_priority.end() )
return NULL;
return *it;
Lure Of Chaos 04.02.2011 11:43 # 0
gegMOPO4 04.02.2011 12:11 # +1
istem 04.02.2011 12:28 # 0