From 43ad99595bfc08b65905089bc7ffe9b32f7f717a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Dee=20=28J=C5=8Dshin=29?= Date: Fri, 18 Apr 2025 00:49:23 -0700 Subject: [PATCH] Consistent const-ing within the file --- ctl/shared_ptr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctl/shared_ptr.h b/ctl/shared_ptr.h index 6f04f2e9d..4c3b23ca7 100644 --- a/ctl/shared_ptr.h +++ b/ctl/shared_ptr.h @@ -382,7 +382,7 @@ class weak_ptr rc->keep_weak(); } - weak_ptr(weak_ptr const& r) noexcept : p(r.p), rc(r.rc) + weak_ptr(const weak_ptr& r) noexcept : p(r.p), rc(r.rc) { if (rc) rc->keep_weak(); @@ -390,7 +390,7 @@ class weak_ptr template requires __::shared_ptr_compatible - weak_ptr(weak_ptr const& r) noexcept : p(r.p), rc(r.rc) + weak_ptr(const weak_ptr& r) noexcept : p(r.p), rc(r.rc) { if (rc) rc->keep_weak();