Skip to content

Commit f587c71

Browse files
committed
Fix C++03
1 parent 3808d88 commit f587c71

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
@@ -138,7 +138,7 @@ _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
138138
//
139139
// [1]:
140140
// https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Exceptions/Articles/Exceptions64Bit.html
141-
if constexpr (is_pointer<_Ep>::value) {
141+
if _LIBCPP_CONSTEXPR (is_pointer<_Ep>::value) {
142142
return std::__make_exception_ptr_via_throw(__e);
143143
}
144144

0 commit comments

Comments
 (0)