File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -647,10 +647,17 @@ public:
647
647
: __comp_(__c) {}
648
648
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 const _Compare& key_comp () const _NOEXCEPT { return __comp_; }
649
649
650
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 bool operator ()(const _CP& __x, const _CP& __y) const { return __comp_ (__x.first , __y.first ); }
651
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 bool operator ()(const _CP& __x, const _Key& __y) const { return __comp_ (__x.first , __y); }
652
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 bool operator ()(const _Key& __x, const _CP& __y) const { return __comp_ (__x, __y.first ); }
653
- _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void swap (__map_value_compare& __y) _NOEXCEPT_(__is_nothrow_swappable_v<_Compare>) {
650
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 bool operator ()(const _CP& __x, const _CP& __y) const {
651
+ return __comp_ (__x.first , __y.first );
652
+ }
653
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 bool operator ()(const _CP& __x, const _Key& __y) const {
654
+ return __comp_ (__x.first , __y);
655
+ }
656
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 bool operator ()(const _Key& __x, const _CP& __y) const {
657
+ return __comp_ (__x, __y.first );
658
+ }
659
+ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 void swap (__map_value_compare& __y)
660
+ _NOEXCEPT_(__is_nothrow_swappable_v<_Compare>) {
654
661
using std::swap;
655
662
swap (__comp_, __y.__comp_ );
656
663
}
You can’t perform that action at this time.
0 commit comments