From 222fbb08626060cfb39e57bec76c1aa0af7aee0c Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 7 Sep 2021 20:24:47 +0900 Subject: [PATCH] Make ThreadPool::getThreadCount() constexpr --- src/EC/ThreadPool.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EC/ThreadPool.hpp b/src/EC/ThreadPool.hpp index d3808ec..3b68c6b 100644 --- a/src/EC/ThreadPool.hpp +++ b/src/EC/ThreadPool.hpp @@ -175,7 +175,7 @@ public: /*! \brief Returns the ThreadCount that this class was created with. */ - unsigned int getThreadCount() { + constexpr unsigned int getThreadCount() { return SIZE; }