Skip to content

Commit a1e8586

Browse files
committed
relax the c++-standard requirement
1 parent bf5d0fa commit a1e8586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__exception/exception_ptr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class _LIBCPP_EXPORTED_FROM_ABI exception_ptr {
9696
template <class _Ep>
9797
_LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
9898
# if _LIBCPP_HAS_EXCEPTIONS
99-
# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && __cplusplus >= 201703L
99+
# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && __cplusplus >= 201103L
100100
// Clang treats throwing ObjC types differently, and we have to preserve original throw-ing behavior
101101
// to not break some ObjC invariants. ObjC types are thrown by a pointer, hence the condition;
102102
// although it does also trigger for some valid c++ usages, this should be a case rare enough to

0 commit comments

Comments
 (0)