aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/include/__concepts/different_from.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__concepts/different_from.h')
-rw-r--r--contrib/llvm-project/libcxx/include/__concepts/different_from.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm-project/libcxx/include/__concepts/different_from.h b/contrib/llvm-project/libcxx/include/__concepts/different_from.h
index 15fd8f05510b..fd31f6e25805 100644
--- a/contrib/llvm-project/libcxx/include/__concepts/different_from.h
+++ b/contrib/llvm-project/libcxx/include/__concepts/different_from.h
@@ -19,12 +19,12 @@
_LIBCPP_BEGIN_NAMESPACE_STD
-#if _LIBCPP_STD_VER > 17
+#if _LIBCPP_STD_VER >= 20
-template<class _Tp, class _Up>
+template <class _Tp, class _Up>
concept __different_from = !same_as<remove_cvref_t<_Tp>, remove_cvref_t<_Up>>;
-#endif // _LIBCPP_STD_VER > 17
+#endif // _LIBCPP_STD_VER >= 20
_LIBCPP_END_NAMESPACE_STD