Skip to content

Commit

Permalink
Remove invalid const on mutating member function
Browse files Browse the repository at this point in the history
  • Loading branch information
mavam committed Mar 20, 2024
1 parent 2d5463f commit a8947e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libtenzir/include/tenzir/detail/patricia.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1803,8 +1803,7 @@ class patricia_map {

auto operator=(patricia_map&&) noexcept -> patricia_map& = default;

auto clear() const noexcept(std::is_nothrow_destructible_v<value_type>)
-> void {
auto clear() noexcept(std::is_nothrow_destructible_v<value_type>) -> void {
_trie.clear();
}

Expand Down

0 comments on commit a8947e2

Please sign in to comment.