From 0262799be465d36e0b31b9a2af1a9cc709e5ef48 Mon Sep 17 00:00:00 2001 From: Jeff Hatch Date: Tue, 18 Apr 2017 14:56:23 -0500 Subject: Fix crash caused by SharedPtr constructor not initializing m_eType --- include/mts/MTS_SharedPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mts/MTS_SharedPtr.h b/include/mts/MTS_SharedPtr.h index 0fd670e..84e26df 100644 --- a/include/mts/MTS_SharedPtr.h +++ b/include/mts/MTS_SharedPtr.h @@ -73,7 +73,7 @@ namespace MTS { } template SharedPtr::SharedPtr(const SharedPtr& other) - : m_pObj(other.m_pObj), m_pReferences(other.m_pReferences) { + : m_pObj(other.m_pObj), m_pReferences(other.m_pReferences), m_eType(other.m_eType) { *(m_pReferences) += 1; } -- cgit v1.2.3