Skip to content

Commit 076bb64

Browse files
authored
fix ill-formed asio_thread_pool constructor
1 parent f2ea410 commit 076bb64

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/execpools/asio/asio_thread_pool.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ namespace execpools {
1515
public:
1616
asio_thread_pool()
1717
: pool_()
18-
, executor_(pool_.executor()) = default;
18+
, executor_(pool_.executor()) {
19+
}
1920

2021
explicit asio_thread_pool(uint32_t num_threads)
2122
: pool_(num_threads)

0 commit comments

Comments
 (0)