We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b72f10 commit 17af633Copy full SHA for 17af633
core-framework/include/utils/ThreadPool.h
@@ -135,7 +135,7 @@ class WorkerThread {
135
*/
136
class ThreadPool {
137
public:
138
- ThreadPool(int max_worker_threads = 2, std::string name = "NamelessPool");
+ explicit ThreadPool(int max_worker_threads = 2, std::string name = "NamelessPool");
139
140
ThreadPool(const ThreadPool &other) = delete;
141
ThreadPool& operator=(const ThreadPool &other) = delete;
0 commit comments