Skip to content

Commit b6aba26

Browse files
author
git apple-llvm automerger
committed
Merge commit '29cc80f4ecaf' from llvm.org/main into next
2 parents 220276c + 29cc80f commit b6aba26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__memory/construct_at.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ _LIBCPP_HIDE_FROM_ABI constexpr _Tp* construct_at(_Tp* __location, _Args&&... __
4444
#endif
4545

4646
template <class _Tp, class... _Args, class = decltype(::new(std::declval<void*>()) _Tp(std::declval<_Args>()...))>
47-
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _Tp* __construct_at(_Tp* __location, _Args&&... __args) {
47+
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp* __construct_at(_Tp* __location, _Args&&... __args) {
4848
#if _LIBCPP_STD_VER >= 20
4949
return std::construct_at(__location, std::forward<_Args>(__args)...);
5050
#else

0 commit comments

Comments
 (0)