From 513e03c883d29aff585c0906f0a0381559d00e84 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Thu, 30 May 2024 14:56:07 -0700 Subject: [PATCH] Remove unnecessary template parameter in destructor. Fixes #487 --- pyc_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyc_object.h b/pyc_object.h index ade46c7..0859444 100644 --- a/pyc_object.h +++ b/pyc_object.h @@ -25,7 +25,7 @@ public: obj.m_obj = nullptr; } - ~PycRef<_Obj>() + ~PycRef() { if (m_obj) m_obj->delRef();