Skip to content

Commit 4074e73

Browse files
Update core-framework/include/utils/ThreadPool.h
Co-authored-by: Martin Zink <martin.zink@protonmail.com>
1 parent 4b247a1 commit 4074e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-framework/include/utils/ThreadPool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class WorkerThread {
135135
*/
136136
class ThreadPool {
137137
public:
138-
ThreadPool(int max_worker_threads = 2, std::string name = "NamelessPool");
138+
explicit ThreadPool(int max_worker_threads = 2, std::string name = "NamelessPool");
139139

140140
ThreadPool(const ThreadPool &other) = delete;
141141
ThreadPool& operator=(const ThreadPool &other) = delete;

0 commit comments

Comments
 (0)