Skip to content

Commit

Permalink
Remove not needed return from void Tree::remove(NodeType*) method.
Browse files Browse the repository at this point in the history
  • Loading branch information
serges147 committed Jul 17, 2024
1 parent 0d7f5c0 commit e63b7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c++/cavl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ class Tree final // NOSONAR cpp:S3624
void remove(NodeType* const node) noexcept // NOSONAR cpp:S6936
{
CAVL_ASSERT(!traversal_in_progress_); // Cannot modify the tree while it is being traversed.
return NodeType::remove(root_, node);
NodeType::remove(root_, node);
}

/// Wraps NodeType<>::min/max().
Expand Down

0 comments on commit e63b7ad

Please sign in to comment.