From 71257772049b7bb43e3cc808e9ac7ecef4496314 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 25 Jun 2018 23:55:44 +0200 Subject: [PATCH] [DEV] correct missing init --- ememory/SharedPtr.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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