From 1ba21bd5a84d154cc57681db03473f417bf8b02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven=20Dee=20=28J=C5=8Dshin=29?= Date: Fri, 30 Aug 2024 08:44:42 -0700 Subject: [PATCH] clang-format --- ctl/shared_ptr.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ctl/shared_ptr.h b/ctl/shared_ptr.h index 3cf46e306..40e7a1a7d 100644 --- a/ctl/shared_ptr.h +++ b/ctl/shared_ptr.h @@ -9,7 +9,8 @@ #include "unique_ptr.h" // XXX currently needed to use placement-new syntax (move to cxx.inc?) -void* operator new(size_t, void*) noexcept; +void* +operator new(size_t, void*) noexcept; namespace ctl { @@ -30,7 +31,7 @@ struct ptr_ref using type = T&; }; -template <> +template<> struct ptr_ref { using type = void;