summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mts/MTS_SharedPtr.h2
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;
}