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

[LawsScheduler] Add missing constexpr

parent 47e4158c
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ auto LawsScheduler::nextFiber() -> Fiber* {
poped = queues[victim]->popTop(&fiber);
if (poped) {
if (emper::STATS) {
if constexpr (emper::STATS) {
auto flag = static_cast<unsigned int>(LawsStrategy::FiberSource::stolen);
fiber->setFlag(flag);
}
......
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