mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 08:20:28 +00:00
Hey, CTAD was introduced in C++17 wasn’t it
This commit is contained in:
parent
8794cdc99d
commit
3b01802ee3
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ struct shared_pointer : shared_control
|
|||
|
||||
static shared_pointer* make(T* p)
|
||||
{
|
||||
auto p2 = unique_ptr<T>(p);
|
||||
auto p2 = unique_ptr(p);
|
||||
auto r = new shared_pointer(p2.release());
|
||||
return r;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue