summaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/include/exception
diff options
context:
space:
mode:
authormikhnenko <[email protected]>2023-10-06 17:52:32 +0300
committermikhnenko <[email protected]>2023-10-06 20:37:34 +0300
commit5ae8a1d5a335e8842ec7d738b63084ff9e859d91 (patch)
treef78e50dd87826dbfa0e105524e7712de898e0168 /contrib/libs/cxxsupp/libcxx/include/exception
parentabce6653da14c738a48f8703314aa8ad569e5bf9 (diff)
Upd libc++ to 95a2527261443729a398e16bc7dc6dd325fc2691 (29 Mar 2022)
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include/exception')
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/exception4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/exception b/contrib/libs/cxxsupp/libcxx/include/exception
index a5a1f99cf93..82756a70c4b 100644
--- a/contrib/libs/cxxsupp/libcxx/include/exception
+++ b/contrib/libs/cxxsupp/libcxx/include/exception
@@ -279,10 +279,10 @@ throw_with_nested(_Tp&& __t)
}
template <class _From, class _To>
-struct __can_dynamic_cast : public _LIBCPP_BOOL_CONSTANT(
+struct __can_dynamic_cast : _BoolConstant<
is_polymorphic<_From>::value &&
(!is_base_of<_To, _From>::value ||
- is_convertible<const _From*, const _To*>::value)) {};
+ is_convertible<const _From*, const _To*>::value)> {};
template <class _Ep>
inline _LIBCPP_INLINE_VISIBILITY