Skip to content

Commit 860bec2

Browse files
committed
More C++03
1 parent f587c71 commit 860bec2

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
@@ -142,7 +142,7 @@ _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
142142
return std::__make_exception_ptr_via_throw(__e);
143143
}
144144

145-
# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && __cplusplus >= 201103L
145+
# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && !defined(_LIBCPP_CXX03_LANG)
146146
return std::__make_exception_ptr_explicit(__e);
147147
# else
148148
return std::__make_exception_ptr_via_throw(__e);

0 commit comments

Comments
 (0)