mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-04 19:13:30 +01:00
fix for gcc
This commit is contained in:
parent
4b53f137de
commit
c7fb2ee987
@ -363,16 +363,17 @@ void ThreadTest::testThreadFunction()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
struct Functor
|
||||||
|
{
|
||||||
|
void operator () ()
|
||||||
|
{
|
||||||
|
++MyRunnable::_staticVar;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
void ThreadTest::testThreadFunctor()
|
void ThreadTest::testThreadFunctor()
|
||||||
{
|
{
|
||||||
struct Functor
|
|
||||||
{
|
|
||||||
void operator () ()
|
|
||||||
{
|
|
||||||
++MyRunnable::_staticVar;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
Thread thread;
|
Thread thread;
|
||||||
|
|
||||||
assert (!thread.isRunning());
|
assert (!thread.isRunning());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user