diff options
Diffstat (limited to 'Swiften/EventLoop/UnitTest/SimpleEventLoopTest.cpp')
| -rw-r--r-- | Swiften/EventLoop/UnitTest/SimpleEventLoopTest.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/EventLoop/UnitTest/SimpleEventLoopTest.cpp b/Swiften/EventLoop/UnitTest/SimpleEventLoopTest.cpp index a39aa9a..b6c2da8 100644 --- a/Swiften/EventLoop/UnitTest/SimpleEventLoopTest.cpp +++ b/Swiften/EventLoop/UnitTest/SimpleEventLoopTest.cpp @@ -32,7 +32,7 @@ class SimpleEventLoopTest : public CppUnit::TestFixture  		void testPostFromMainThread() {  			SimpleEventLoop testling; -			testling.postEvent(boost::bind(&SimpleEventLoopTest::incrementCounterAndStop, this, &testling), 0); +			testling.postEvent(boost::bind(&SimpleEventLoopTest::incrementCounterAndStop, this, &testling));  			testling.run();  			CPPUNIT_ASSERT_EQUAL(1, counter_); @@ -42,7 +42,7 @@ class SimpleEventLoopTest : public CppUnit::TestFixture  		void runIncrementingThread(SimpleEventLoop* loop) {  			for (unsigned int i = 0; i < 10; ++i) {          Swift::sleep(1); -				loop->postEvent(boost::bind(&SimpleEventLoopTest::incrementCounter, this), 0); +				loop->postEvent(boost::bind(&SimpleEventLoopTest::incrementCounter, this));  			}  			loop->stop();  		}  | 
 Swift