From abba364fb3b8871a2baac7779b0850b3bdc479b0 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 5 Oct 2020 18:07:06 +0200 Subject: change fmt of short function Only allow short 'Empty' functions due to following clang fmt bug https://bugs.llvm.org/show_bug.cgi?id=24410 --- lib/executor.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/executor.cc') diff --git a/lib/executor.cc b/lib/executor.cc index bd068c6..3d3c044 100644 --- a/lib/executor.cc +++ b/lib/executor.cc @@ -22,5 +22,7 @@ namespace nMatcha { } } - void Executor::yield_to(const Thread* t) const { ::yield(t->mStackPtr, &mStackPtr); } + void Executor::yield_to(const Thread* t) const { + ::yield(t->mStackPtr, &mStackPtr); + } } // namespace nMatcha -- cgit v1.2.3