Skip to content

Commit

Permalink
#sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed May 8, 2024
1 parent e325967 commit d935e95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libcyphal/transport/can/delegate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ class TransportDelegate
std::size_t count = 1;

count += visitCounting(node->lr[0], std::forward<Visitor>(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*>(node));
visitor(*reinterpret_cast<Node*>(node)); // NOSONAR
count += visitCounting(node->lr[1], std::forward<Visitor>(visitor));

return count;
Expand Down

0 comments on commit d935e95

Please sign in to comment.