diff --git a/include/boost/property_tree/ptree.hpp b/include/boost/property_tree/ptree.hpp index 2743123c9..3b4acef36 100644 --- a/include/boost/property_tree/ptree.hpp +++ b/include/boost/property_tree/ptree.hpp @@ -492,10 +492,10 @@ namespace boost { namespace property_tree private: // Hold the data of this node - data_type m_data; + data_type m_data {}; // Hold the children - this is a void* because we can't complete the // container type within the class. - void* m_children; + void* m_children {}; // Getter tree-walk. Not const-safe! Gets the node the path refers to, // or null. Destroys p's value.