aboutsummaryrefslogtreecommitdiff
path: root/lib/executor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/executor.cc')
-rw-r--r--lib/executor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/executor.cc b/lib/executor.cc
index 774354f..bfc268a 100644
--- a/lib/executor.cc
+++ b/lib/executor.cc
@@ -26,7 +26,7 @@ namespace nMatcha {
}
}
- void Executor::yield_to(const Thread* t) const {
+ void Executor::yield_to(const Thread* t) {
::yield(t->mStackPtr, &mStackPtr);
}
} // namespace nMatcha