diff options
author | Jeff Hatch <Jeff.Hatch@multitech.com> | 2017-04-18 14:56:23 -0500 |
---|---|---|
committer | Jeff Hatch <Jeff.Hatch@multitech.com> | 2017-04-18 14:56:23 -0500 |
commit | 0262799be465d36e0b31b9a2af1a9cc709e5ef48 (patch) | |
tree | 19b997304957a171b9ebb821c26cdc4a1ef82a5c | |
parent | 994c50e43c5a8169881a6529411cd9e92991bfd1 (diff) | |
download | libmts-0262799be465d36e0b31b9a2af1a9cc709e5ef48.tar.gz libmts-0262799be465d36e0b31b9a2af1a9cc709e5ef48.tar.bz2 libmts-0262799be465d36e0b31b9a2af1a9cc709e5ef48.zip |
Fix crash caused by SharedPtr constructor not initializing m_eType0.5
-rw-r--r-- | include/mts/MTS_SharedPtr.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<class T> SharedPtr<T>::SharedPtr(const SharedPtr<T>& 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; } |