Fix the timer_scope test.

Refs #6107
This commit is contained in:
Gunnar Beutner 2014-05-08 17:23:26 +02:00
parent 01941a9807
commit 3981ad213d

View File

@ -77,6 +77,8 @@ BOOST_AUTO_TEST_CASE(invoke)
BOOST_AUTO_TEST_CASE(scope)
{
Utility::Sleep(5);
int counter;
Timer::Ptr timer = make_shared<Timer>();
timer->OnTimerExpired.connect(boost::bind(&Callback, &counter));