Avoid using std::result_of (deprecated in c++ > 17)

Fixes: #34906
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2022-03-27 11:15:43 +03:00
parent 806a4bcdee
commit 6151e9b059

View File

@ -27,7 +27,11 @@ target_include_directories (_boost_headers_only SYSTEM BEFORE INTERFACE ${LIBRAR
# asio # asio
target_compile_definitions (_boost_headers_only INTERFACE BOOST_ASIO_STANDALONE=1) target_compile_definitions (_boost_headers_only INTERFACE
BOOST_ASIO_STANDALONE=1
# Avoid using of deprecated in c++ > 17 std::result_of
BOOST_ASIO_HAS_STD_INVOKE_RESULT=1
)
# iostreams # iostreams