From 3b01802ee311d62a5b21923d84c956176fe74dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Dee=20=28J=C5=8Dshin=29?= Date: Mon, 17 Jun 2024 21:51:29 -0700 Subject: [PATCH] =?UTF-8?q?Hey,=20CTAD=20was=20introduced=20in=20C++17=20w?= =?UTF-8?q?asn=E2=80=99t=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ctl/shared_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctl/shared_ptr.h b/ctl/shared_ptr.h index b562a5a49..983e33816 100644 --- a/ctl/shared_ptr.h +++ b/ctl/shared_ptr.h @@ -48,7 +48,7 @@ struct shared_pointer : shared_control static shared_pointer* make(T* p) { - auto p2 = unique_ptr(p); + auto p2 = unique_ptr(p); auto r = new shared_pointer(p2.release()); return r; }