From 2361d7050febb8fea0fbae72471c49b7c9ce8901 Mon Sep 17 00:00:00 2001 From: Josh Faust Date: Mon, 14 Jun 2010 20:56:05 +0000 Subject: [PATCH] use WallDuration instead of Duration --- core/roscpp/test/test_subscription_queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/roscpp/test/test_subscription_queue.cpp b/core/roscpp/test/test_subscription_queue.cpp index dd5120da..d2f8335a 100644 --- a/core/roscpp/test/test_subscription_queue.cpp +++ b/core/roscpp/test/test_subscription_queue.cpp @@ -205,7 +205,7 @@ TEST(SubscriptionQueue, clearInCallback) void clearWhileThreadIsBlockingCallback(bool* done, boost::barrier* barrier) { barrier->wait(); - ros::Duration(.1).sleep(); + ros::WallDuration(.1).sleep(); *done = true; }