Skip to content

Commit

Permalink
fixup! fix: make sure all key comparisons use the comp function
Browse files Browse the repository at this point in the history
  • Loading branch information
tearfur authored and alandefreitas committed Feb 20, 2024
1 parent 41638ba commit c6960c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/small/detail/container/associative_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ namespace small::detail {
|| (std::is_same_v<K1, key_type>
&& std::is_same_v<K2, key_type>),
bool>
keys_equivalent(const K1 &lhs, const K2 &rhs) {
keys_equivalent(const K1 &lhs, const K2 &rhs) const {
return !comp_(lhs, rhs) && !comp_(rhs, lhs);
}

Expand Down

0 comments on commit c6960c7

Please sign in to comment.