Hey, CTAD was introduced in C++17 wasn’t it

This commit is contained in:
Steven Dee (Jōshin) 2024-06-17 21:51:29 -07:00
parent 8794cdc99d
commit 3b01802ee3
No known key found for this signature in database

View file

@ -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;
}