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; }