use WallDuration instead of Duration

This commit is contained in:
Josh Faust 2010-06-14 20:56:05 +00:00
parent 4741f756df
commit 2361d7050f
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ TEST(SubscriptionQueue, clearInCallback)
void clearWhileThreadIsBlockingCallback(bool* done, boost::barrier* barrier) void clearWhileThreadIsBlockingCallback(bool* done, boost::barrier* barrier)
{ {
barrier->wait(); barrier->wait();
ros::Duration(.1).sleep(); ros::WallDuration(.1).sleep();
*done = true; *done = true;
} }