Replace detail/work_guard.hpp with net::executor_work_guard

In newer versions of Asio, `executor_work_guard<>` can be used even when
`ASIO_NO_TS_EXECUTORS` is defined.
This commit is contained in:
Mohammad Nejati
2025-04-27 10:04:53 +00:00
committed by Mohammad Nejati
parent 78478557f6
commit 19c38c308a
11 changed files with 25 additions and 173 deletions

View File

@@ -2,4 +2,4 @@
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake)
# Compiler options.
add_compile_options(-Wall -Wextra -Wpedantic -Wno-unused-parameter)
add_compile_options(-Wall -Wextra -Wpedantic)