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 bfc268a..52bdf01 100644
--- a/lib/executor.cc
+++ b/lib/executor.cc
@@ -27,6 +27,6 @@ namespace nMatcha {
}
void Executor::yield_to(const Thread* t) {
- ::yield(t->mStackPtr, &mStackPtr);
+ ::yield(t->mStack.mPtr, &mStackPtr);
}
} // namespace nMatcha