diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-10-08 20:14:42 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-10-08 20:14:42 +0200 |
commit | 3b4a6097dee760d22eecd97ebe041c69da6b056a (patch) | |
tree | bf1536956a327c77c0975d1a6a0d04e230fd0aad /lib/executor.cc | |
parent | 8d2529404437262c5bf0521063221906aeecfb22 (diff) | |
download | matcha-threads-3b4a6097dee760d22eecd97ebe041c69da6b056a.tar.gz matcha-threads-3b4a6097dee760d22eecd97ebe041c69da6b056a.zip |
remove incorrect const
Diffstat (limited to 'lib/executor.cc')
-rw-r--r-- | lib/executor.cc | 2 |
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 |