From c7295d014284a346d7dc2a2546e3eb284fadafff Mon Sep 17 00:00:00 2001 From: shad0wshayd3 Date: Thu, 14 Nov 2024 15:01:17 -0700 Subject: [PATCH] fix: msvc::unique_ptr --- CommonLibF4/include/RE/msvc/memory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CommonLibF4/include/RE/msvc/memory.h b/CommonLibF4/include/RE/msvc/memory.h index 083d178c..f22c87bc 100644 --- a/CommonLibF4/include/RE/msvc/memory.h +++ b/CommonLibF4/include/RE/msvc/memory.h @@ -270,7 +270,7 @@ namespace RE::msvc // 3c unique_ptr(pointer a_ptr, const deleter_type& a_dtor) noexcept // - requires((std::is_lvalue_reference && + requires((std::is_lvalue_reference_v && std::is_const_v)) : super(a_ptr, a_dtor) {} @@ -484,7 +484,7 @@ namespace RE::msvc // 3c template unique_ptr(U a_ptr, const deleter_type& a_dtor) noexcept // - requires((std::is_lvalue_reference && + requires((std::is_lvalue_reference_v && std::is_const_v && detail::unique_ptr_array_convertible)) : super(a_ptr, a_dtor)