Remove unnecessary template parameter in destructor. Fixes #487

This commit is contained in:
Michael Hansen
2024-05-30 14:56:07 -07:00
parent 6467c2cc52
commit 513e03c883

View File

@@ -25,7 +25,7 @@ public:
obj.m_obj = nullptr; obj.m_obj = nullptr;
} }
~PycRef<_Obj>() ~PycRef()
{ {
if (m_obj) if (m_obj)
m_obj->delRef(); m_obj->delRef();