Adjust unittest to new SGCallback
This commit is contained in:
parent
dbe2734e2c
commit
1a364684e9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue