Skip to content

Commit ca8f571

Browse files
committed
Use is_pointer instead of is_pointer_v
1 parent e647f47 commit ca8f571

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
@@ -100,7 +100,7 @@ _LIBCPP_HIDE_FROM_ABI exception_ptr make_exception_ptr(_Ep __e) _NOEXCEPT {
100100
// to not break some ObjC invariants. ObjC types are thrown by a pointer, hence the condition;
101101
// although it does also trigger for some valid c++ usages, this should be a case rare enough to
102102
// not complicate the condition any further
103-
if constexpr (std::is_pointer_v<_Ep>) {
103+
if constexpr (is_pointer<_Ep>::value) {
104104
try {
105105
throw __e;
106106
} catch (...) {

0 commit comments

Comments
 (0)