1
0
Fork 0

Adjust unittest to new SGCallback

This commit is contained in:
Lars Toenning 2022-05-30 23:18:54 +02:00 committed by James Turner
parent dbe2734e2c
commit 1a364684e9

View file

@ -64,7 +64,7 @@ public:
if (!global_eventManager)
return;
global_eventManager->addTask(_name, this, &FakeNasalTimer::invoke,
global_eventManager->addTask(_name, [this](){ this->invoke(); },
interval, interval /* delay */, false);
_expectedTime = global_realTime + interval;