From 3b4a6097dee760d22eecd97ebe041c69da6b056a Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 8 Oct 2020 20:14:42 +0200 Subject: remove incorrect const --- lib/executor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/executor.cc') 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 -- cgit v1.2.3