From d935e95cd9bd9550aeee049be27b421decff6f0a Mon Sep 17 00:00:00 2001 From: Sergei Shirokov Date: Wed, 8 May 2024 16:56:36 +0300 Subject: [PATCH] #sonar --- include/libcyphal/transport/can/delegate.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libcyphal/transport/can/delegate.hpp b/include/libcyphal/transport/can/delegate.hpp index f18a46aca..580c28f39 100644 --- a/include/libcyphal/transport/can/delegate.hpp +++ b/include/libcyphal/transport/can/delegate.hpp @@ -146,9 +146,9 @@ class TransportDelegate std::size_t count = 1; count += visitCounting(node->lr[0], std::forward(visitor)); - // Next nolint is unavoidable: this is integration with C code of Canard AVL trees. + // Next nolint & nosonar are unavoidable: this is integration with low-level C code of Canard AVL trees. // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast) - visitor(*reinterpret_cast(node)); + visitor(*reinterpret_cast(node)); // NOSONAR count += visitCounting(node->lr[1], std::forward(visitor)); return count;