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();