diff options
Diffstat (limited to 'absl/container/internal/btree.h')
-rw-r--r-- | absl/container/internal/btree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/container/internal/btree.h b/absl/container/internal/btree.h index 9fe1b27f..996afa61 100644 --- a/absl/container/internal/btree.h +++ b/absl/container/internal/btree.h @@ -1208,9 +1208,9 @@ class btree { // Note: the first overload avoids constructing a value_type if the key // already exists in the btree. template <typename InputIterator, - typename = decltype( - compare_keys(params_type::key(*std::declval<InputIterator>()), - std::declval<const key_type &>()))> + typename = decltype(std::declval<const key_compare &>()( + params_type::key(*std::declval<InputIterator>()), + std::declval<const key_type &>()))> void insert_iterator_unique(InputIterator b, InputIterator e, int); // We need the second overload for cases in which we need to construct a // value_type in order to compare it with the keys already in the btree. |