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/thread.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/thread.h') diff --git a/lib/thread.h b/lib/thread.h index 3304892..c181425 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -16,7 +16,9 @@ namespace nMatcha { virtual void threadFn() = 0; - bool isFinished() const { return mFinished; } + bool isFinished() const { + return mFinished; + } protected: void yield(); -- cgit v1.2.3