mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +00:00
Change ctor back to match STL
This commit is contained in:
parent
d29f73e2d3
commit
acbf10c702
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue