We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ae1c7e commit a9e20c0Copy full SHA for a9e20c0
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