From acbf10c70201553fe357fae878a687a4177a8258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Dee=20=28J=C5=8Dshin=29?= Date: Wed, 19 Jun 2024 06:25:32 -0700 Subject: [PATCH] Change ctor back to match STL --- ctl/unique_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctl/unique_ptr.h b/ctl/unique_ptr.h index 079f5a79f..dbdde7679 100644 --- a/ctl/unique_ptr.h +++ b/ctl/unique_ptr.h @@ -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(d)) { }