Skip to content

Commit a3cba6b

Browse files
committed
[Support] ThreadPoolExecutor: remove unused default argument
1 parent 9487cf9 commit a3cba6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Support/Parallel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Executor {
4949
/// in filo order.
5050
class ThreadPoolExecutor : public Executor {
5151
public:
52-
explicit ThreadPoolExecutor(ThreadPoolStrategy S = hardware_concurrency()) {
52+
explicit ThreadPoolExecutor(ThreadPoolStrategy S) {
5353
ThreadCount = S.compute_thread_count();
5454
// Spawn all but one of the threads in another thread as spawning threads
5555
// can take a while.

0 commit comments

Comments
 (0)