[libcxx-commits] [libcxx] e0e7bd1 - [libc++] Add missing std:: qualification to __synth_three_way.
Arthur O'Dwyer via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 2 09:17:39 PST 2022
Author: Arthur O'Dwyer
Date: 2022-03-02T12:15:19-05:00
New Revision: e0e7bd15b968203fa6a8000560aad542db6d832c
URL: https://github.com/llvm/llvm-project/commit/e0e7bd15b968203fa6a8000560aad542db6d832c
DIFF: https://github.com/llvm/llvm-project/commit/e0e7bd15b968203fa6a8000560aad542db6d832c.diff
LOG: [libc++] Add missing std:: qualification to __synth_three_way.
This might be unobservable, since __synth_three_way is only ever
called as a result of using an (ADL) operator on std::pair or std::tuple.
Added:
Modified:
libcxx/include/__compare/synth_three_way.h
Removed:
################################################################################
diff --git a/libcxx/include/__compare/synth_three_way.h b/libcxx/include/__compare/synth_three_way.h
index f55edd4876b5e..a5ee5eb6fb67d 100644
--- a/libcxx/include/__compare/synth_three_way.h
+++ b/libcxx/include/__compare/synth_three_way.h
@@ -42,7 +42,7 @@ _LIBCPP_HIDE_FROM_ABI inline constexpr auto __synth_three_way =
};
template <class _Tp, class _Up = _Tp>
-using __synth_three_way_result = decltype(__synth_three_way(declval<_Tp&>(), declval<_Up&>()));
+using __synth_three_way_result = decltype(std::__synth_three_way(declval<_Tp&>(), declval<_Up&>()));
#endif // !defined(_LIBCPP_HAS_NO_CONCEPTS)
More information about the libcxx-commits
mailing list