diff --git a/tests/SimpleActorTest.cpp b/tests/SimpleActorTest.cpp index a0a7da1f19dceebb86e12d1b0d99be593cf7b294..b603356df2e6670ef96c154f057900f981961d8e 100644 --- a/tests/SimpleActorTest.cpp +++ b/tests/SimpleActorTest.cpp @@ -41,7 +41,7 @@ static void mainFiber(void* runtime_ptr) { CPS cps; for (unsigned int i = 0; i < FIBER_COUNT; ++i) { - spawn([&sumActor, i] { + spawn([&sumActor] { WDBG(Dispatcher::getCurrentFiber() << " starts to count to " << FIBERS_COUNT_TO); for (uint64_t i = 1; i <= FIBERS_COUNT_TO; ++i) { sumActor.tell(i);