From 0a9b591ce58d17d09c6884c7a0bda09f0bd94df5 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Tue, 14 Feb 2023 20:59:11 +0100 Subject: [PATCH] iox-#1394 Fix Axivion warnigs in attributes --- iceoryx_hoofs/include/iceoryx_hoofs/cxx/attributes.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/iceoryx_hoofs/include/iceoryx_hoofs/cxx/attributes.hpp b/iceoryx_hoofs/include/iceoryx_hoofs/cxx/attributes.hpp index fe53bba0f6..002aa8de06 100644 --- a/iceoryx_hoofs/include/iceoryx_hoofs/cxx/attributes.hpp +++ b/iceoryx_hoofs/include/iceoryx_hoofs/cxx/attributes.hpp @@ -29,6 +29,7 @@ namespace internal /// compiler an unused variable. "static_cast" produces an useless-cast warning /// on gcc and this approach solves it cleanly. template +// AXIVION Next Construct AutosarC++19_03-M0.1.8 : No side effects are the intended behavior of the function inline void IOX_DISCARD_RESULT_IMPL(T&&) noexcept { }