We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b85d3 commit 9f88c67Copy full SHA for 9f88c67
libcxx/include/__exception/exception_ptr.h
@@ -92,7 +92,7 @@ class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
92
template <class _Ep>
93
_LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
94
# if _LIBCPP_HAS_EXCEPTIONS
95
-# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && __cplusplus >= 201103L
+# if !defined(__OBJC__) && _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && __cplusplus >= 201103L
96
using _Ep2 = __decay_t<_Ep>;
97
98
void* __ex = __cxxabiv1::__cxa_allocate_exception(sizeof(_Ep));
0 commit comments