aboutsummaryrefslogtreecommitdiff
path: root/lib/executor.h
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-10-05 18:07:06 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-10-05 18:07:06 +0200
commitabba364fb3b8871a2baac7779b0850b3bdc479b0 (patch)
tree000b797480cad28c603014db828bf46d18925c84 /lib/executor.h
parent40335c667870e72deb739b81ffbf8d23902ebe71 (diff)
downloadmatcha-threads-abba364fb3b8871a2baac7779b0850b3bdc479b0.tar.gz
matcha-threads-abba364fb3b8871a2baac7779b0850b3bdc479b0.zip
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
Diffstat (limited to 'lib/executor.h')
-rw-r--r--lib/executor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/executor.h b/lib/executor.h
index 67493d4..f04f3f1 100644
--- a/lib/executor.h
+++ b/lib/executor.h
@@ -13,7 +13,9 @@ namespace nMatcha {
Executor& operator=(const Executor&) = delete;
Executor() = default;
- const void* getStackPtr() const { return mStackPtr; }
+ const void* getStackPtr() const {
+ return mStackPtr;
+ }
void spawn(std::unique_ptr<Thread> t);
void run();