Skip to content

Commit

Permalink
fix: msvc::unique_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
shad0wshayd3 committed Nov 14, 2024
1 parent 0f3969d commit c7295d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CommonLibF4/include/RE/msvc/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ namespace RE::msvc

// 3c
unique_ptr(pointer a_ptr, const deleter_type& a_dtor) noexcept //
requires((std::is_lvalue_reference<deleter_type> &&
requires((std::is_lvalue_reference_v<deleter_type> &&
std::is_const_v<deleter_type>)) :
super(a_ptr, a_dtor)
{}
Expand Down Expand Up @@ -484,7 +484,7 @@ namespace RE::msvc
// 3c
template <class U>
unique_ptr(U a_ptr, const deleter_type& a_dtor) noexcept //
requires((std::is_lvalue_reference<deleter_type> &&
requires((std::is_lvalue_reference_v<deleter_type> &&
std::is_const_v<deleter_type> &&
detail::unique_ptr_array_convertible<U, unique_ptr>)) :
super(a_ptr, a_dtor)
Expand Down

0 comments on commit c7295d0

Please sign in to comment.