Change ctor back to match STL

This commit is contained in:
Steven Dee (Jōshin) 2024-06-19 06:25:32 -07:00
parent d29f73e2d3
commit acbf10c702
No known key found for this signature in database

View file

@ -53,7 +53,7 @@ struct unique_ptr
{
}
constexpr unique_ptr(auto* const p, auto&& d) noexcept
constexpr unique_ptr(const pointer p, auto&& d) noexcept
: p(p), d(ctl::forward<decltype(d)>(d))
{
}