diff --git a/SilKit/IntegrationTests/ITest_MessageAggregation.cpp b/SilKit/IntegrationTests/ITest_MessageAggregation.cpp index a32575e76..b9e3e0956 100644 --- a/SilKit/IntegrationTests/ITest_MessageAggregation.cpp +++ b/SilKit/IntegrationTests/ITest_MessageAggregation.cpp @@ -105,7 +105,7 @@ TEST_F(ITest_MessageAggregation, timeout_in_case_of_deadlock_when_using_async_si }); timeSyncService->SetSimulationStepHandlerAsync( - [dataPublisher, lifecycleService, timeSyncService, &msgReceived](std::chrono::nanoseconds /*now*/, + [dataPublisher, lifecycleService, &msgReceived](std::chrono::nanoseconds /*now*/, std::chrono::nanoseconds /*duration*/) { // send ping std::vector ping(1, '?'); @@ -144,4 +144,4 @@ TEST_F(ITest_MessageAggregation, timeout_in_case_of_deadlock_when_using_async_si ASSERT_TRUE(ok) << "SimTestHarness should terminate without timeout"; } -} // namespace \ No newline at end of file +} // namespace