Fixed compiler error due to missed changes

This commit is contained in:
Brian McKinnon
2020-05-03 15:13:33 -05:00
parent 5696a90d63
commit 3297b8f8a6
+3 -3
View File
@@ -713,7 +713,7 @@ namespace phmap {
template <
typename Compare, typename K, typename LK,
phmap::enable_if_t<!std::is_same<bool, phmap::invoke_result_t<
Compare(const K &, const LK &)>>::value,
Compare, const K &, const LK &>>::value,
int> = 0>
constexpr phmap::weak_ordering do_three_way_comparison(const Compare &compare,
const K &x, const LK &y) {
@@ -721,8 +721,8 @@ namespace phmap {
}
template <
typename Compare, typename K, typename LK,
phmap::enable_if_t<std::is_same<bool, phmap::invoke_result_t<Compare(
const K &, const LK &)>>::value,
phmap::enable_if_t<std::is_same<bool, phmap::invoke_result_t<Compare,
const K &, const LK &>>::value,
int> = 0>
constexpr phmap::weak_ordering do_three_way_comparison(const Compare &compare,
const K &x, const LK &y) {