Skip to content

Commit a36fad5

Browse files
authored
Merge pull request #1509 from NVIDIA/boost-asio-config-typo
fix typo in boost::asio configuration
2 parents f0998dd + 076bb64 commit a36fad5

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ set(STDEXEC_ASIO_IMPLEMENTATION "boost" CACHE STRING "boost")
416416
set_property(CACHE STDEXEC_ASIO_IMPLEMENTATION PROPERTY STRINGS boost standalone)
417417

418418
if(STDEXEC_ENABLE_ASIO)
419-
set(STDEXEC_ASIO_USES_ASIO FALSE)
419+
set(STDEXEC_ASIO_USES_BOOST FALSE)
420420
set(STDEXEC_ASIO_USES_STANDALONE FALSE)
421421

422422
include(rapids-find)

cmake/import_standalone_asio.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function(import_standalone_asio)
1111
set(options "")
1212
set(args TAG VERSION)
1313
set(multi_args "")
14-
cmake_parse_arguments(IMPORT_STANDALONE_ASIO "${options}" "${args}" "${multi_args}")
14+
cmake_parse_arguments(IMPORT_STANDALONE_ASIO "${options}" "${args}" "${multi_args}" ${ARGN})
1515

1616
CPMAddPackage("gh:chriskohlhoff/asio#${IMPORT_STANDALONE_ASIO_TAG}@${IMPORT_STANDALONE_ASIO_VERSION}")
1717

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)