From d3b200e59f1e7965c67d067e0ae23a02a65b530c Mon Sep 17 00:00:00 2001 From: jiri-skuta Date: Tue, 10 Mar 2026 15:41:30 +0100 Subject: [PATCH] Migrate from deprecated Aeron C++ API to C++ Wrapper API Replace deprecated Aeron includes with wrapper/ equivalents in AeronClient.hpp and add aeron::aeron_client_wrapper as first link library to ensure wrapper include paths take precedence over old API headers (fixes include guard collision on CountersReader.h). Eliminates deprecation warning about removal in 1.50.0. Co-Authored-By: Claude Sonnet 4.6 --- CMakeLists.txt | 1 + .../async_function_execution/clients/AeronClient.hpp | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b77c682..320c7ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,7 @@ CMDEF_ADD_LIBRARY( ) TARGET_LINK_LIBRARIES(${ASYNC_FUNCTION_EXECUTION_TARGET_NAME}-shared PUBLIC + aeron::aeron_client_wrapper aeron::aeron aeron::aeron_client_shared aeron::aeron_driver diff --git a/include/bringauto/async_function_execution/clients/AeronClient.hpp b/include/bringauto/async_function_execution/clients/AeronClient.hpp index 0988130..e6865c4 100644 --- a/include/bringauto/async_function_execution/clients/AeronClient.hpp +++ b/include/bringauto/async_function_execution/clients/AeronClient.hpp @@ -4,10 +4,10 @@ #include #include -#include -#include +#include +#include #include -#include +#include