fix: Use std::chrono consistently

This commit is contained in:
Dennis Klein
2023-03-02 17:09:55 +01:00
committed by Dennis Klein
parent 05b734ee0d
commit 8960ce9416
3 changed files with 11 additions and 6 deletions

View File

@@ -162,7 +162,10 @@ if(BUILD_FAIRMQ)
############################
# preprocessor definitions #
############################
target_compile_definitions(${target} PUBLIC BOOST_ERROR_CODE_HEADER_ONLY)
target_compile_definitions(${target} PUBLIC
BOOST_ERROR_CODE_HEADER_ONLY
BOOST_ASIO_HAS_HAS_STD_CHRONO
)
if(FAIRMQ_DEBUG_MODE)
target_compile_definitions(${target} PUBLIC FAIRMQ_DEBUG_MODE)
endif()