Skip to content
Snippets Groups Projects
Commit fbfa8889 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

Fix unused lambda capture in SimpleActorTest

parent b8a819cf
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ static void mainFiber(void* runtime_ptr) { ...@@ -41,7 +41,7 @@ static void mainFiber(void* runtime_ptr) {
CPS cps; CPS cps;
for (unsigned int i = 0; i < FIBER_COUNT; ++i) { for (unsigned int i = 0; i < FIBER_COUNT; ++i) {
spawn([&sumActor, i] { spawn([&sumActor] {
WDBG(Dispatcher::getCurrentFiber() << " starts to count to " << FIBERS_COUNT_TO); WDBG(Dispatcher::getCurrentFiber() << " starts to count to " << FIBERS_COUNT_TO);
for (uint64_t i = 1; i <= FIBERS_COUNT_TO; ++i) { for (uint64_t i = 1; i <= FIBERS_COUNT_TO; ++i) {
sumActor.tell(i); sumActor.tell(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment