@@ -32,7 +32,7 @@ namespace asio {
3232template <typename Allocator>
3333thread_pool::thread_pool (allocator_arg_t , const Allocator& a)
3434 : execution_context(std::allocator_arg, a),
35- scheduler_(asio::make_service<detail::scheduler>(*this , false )),
35+ scheduler_(asio::make_service<detail::scheduler>(*this )),
3636 threads_(allocator<void >(*this )),
3737 num_threads_(default_thread_pool_size()),
3838 joinable_(true )
@@ -47,7 +47,7 @@ thread_pool::thread_pool(allocator_arg_t,
4747 const Allocator& a, std::size_t num_threads)
4848 : execution_context(std::allocator_arg, a,
4949 config_from_concurrency_hint (num_threads == 1 ? 1 : 0 )),
50- scheduler_(asio::make_service<detail::scheduler>(*this , false )),
50+ scheduler_(asio::make_service<detail::scheduler>(*this )),
5151 threads_(allocator<void >(*this )),
5252 num_threads_(clamp_thread_pool_size(num_threads)),
5353 joinable_(true )
@@ -60,7 +60,7 @@ thread_pool::thread_pool(allocator_arg_t,
6060 const Allocator& a, std::size_t num_threads,
6161 const execution_context::service_maker& initial_services)
6262 : execution_context(std::allocator_arg, a, initial_services),
63- scheduler_(asio::make_service<detail::scheduler>(*this , false )),
63+ scheduler_(asio::make_service<detail::scheduler>(*this )),
6464 threads_(allocator<void >(*this )),
6565 num_threads_(clamp_thread_pool_size(num_threads)),
6666 joinable_(true )
0 commit comments