Make ThreadPool::getThreadCount() constexpr

This commit is contained in:
Stephen Seo 2021-09-07 20:24:47 +09:00
parent 4fd463a870
commit 222fbb0862

View file

@ -175,7 +175,7 @@ public:
/*!
\brief Returns the ThreadCount that this class was created with.
*/
unsigned int getThreadCount() {
constexpr unsigned int getThreadCount() {
return SIZE;
}