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 { }