From ca00effc669cf31fd890ab1919902e128f1bc4e6 Mon Sep 17 00:00:00 2001
From: Florian Schmaus <flow@cs.fau.de>
Date: Thu, 6 Apr 2017 15:43:23 +0200
Subject: [PATCH] Correctly initialize CPS in SimpleActorTest

---
 tests/SimpleActorTest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/SimpleActorTest.cpp b/tests/SimpleActorTest.cpp
index 5215fc63..c6b8b60d 100644
--- a/tests/SimpleActorTest.cpp
+++ b/tests/SimpleActorTest.cpp
@@ -37,7 +37,7 @@ static void mainFiber(void* runtime_ptr) {
 	SumActor sumActor(runtime);
 	sumActor.start();
 
-	CPS cps;
+	CPS cps(FIBER_COUNT);
 	for (unsigned int i = 0; i < FIBER_COUNT; ++i) {
 		spawn([&sumActor, i] {
 				WDBG(Dispatcher::getCurrentFiber() << " starts to count to " << FIBERS_COUNT_TO);
-- 
GitLab