fix for gcc

This commit is contained in:
Guenter Obiltschnig
2014-11-16 21:51:10 +01:00
parent 4b53f137de
commit c7fb2ee987

View File

@@ -363,8 +363,6 @@ void ThreadTest::testThreadFunction()
} }
void ThreadTest::testThreadFunctor()
{
struct Functor struct Functor
{ {
void operator () () void operator () ()
@@ -373,6 +371,9 @@ void ThreadTest::testThreadFunctor()
} }
}; };
void ThreadTest::testThreadFunctor()
{
Thread thread; Thread thread;
assert (!thread.isRunning()); assert (!thread.isRunning());