Make ThreadPool::getThreadCount() constexpr
This commit is contained in:
parent
4fd463a870
commit
222fbb0862
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ public:
|
||||||
/*!
|
/*!
|
||||||
\brief Returns the ThreadCount that this class was created with.
|
\brief Returns the ThreadCount that this class was created with.
|
||||||
*/
|
*/
|
||||||
unsigned int getThreadCount() {
|
constexpr unsigned int getThreadCount() {
|
||||||
return SIZE;
|
return SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue