Skip to content

Commit 2c2542e

Browse files
committed
constexpr
1 parent 000b09a commit 2c2542e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__utility/exception_guard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __exception_guard<_Rollback> __make_exce
138138
}
139139

140140
template <class _Rollback>
141-
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __exception_guard_exceptions<_Rollback> __make_scoped_guard(_Rollback __rollback) {
141+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __exception_guard_exceptions<_Rollback> __make_scoped_guard(_Rollback __rollback) {
142142
return __exception_guard_exceptions<_Rollback>(std::move(__rollback));
143143
}
144144

0 commit comments

Comments
 (0)