diff --git a/ememory/SharedPtr.hpp b/ememory/SharedPtr.hpp index 96e5460..1fef3c9 100644 --- a/ememory/SharedPtr.hpp +++ b/ememory/SharedPtr.hpp @@ -33,8 +33,8 @@ namespace ememory { using deleterCall = etk::Function; friend class WeakPtr; private: - EMEMORY_TYPE* m_element; //!< Pointer on the Data - ememory::Counter* m_counter; //!< Pointer on the counter + EMEMORY_TYPE* m_element = null; //!< Pointer on the Data + ememory::Counter* m_counter = null; //!< Pointer on the counter deleterCall m_deleter; //!< Function to call to delete the data pointer /** * @brief Create the function to remove the pointer of the data