X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a6b0a991a67e6f2f67c03fed43529e078da7115..bcb5cde966bef9e174da1c93cdb2158c0880a613:/src/surf/PropertyHolder.hpp diff --git a/src/surf/PropertyHolder.hpp b/src/surf/PropertyHolder.hpp index 0684173fa6..ba06640feb 100644 --- a/src/surf/PropertyHolder.hpp +++ b/src/surf/PropertyHolder.hpp @@ -17,7 +17,7 @@ namespace surf { class PropertyHolder { // DO NOT DERIVE THIS CLASS, or the diamond inheritance mayhem will get you public: - PropertyHolder(xbt_dict_t props); + explicit PropertyHolder(); ~PropertyHolder(); const char *getProperty(const char*id); @@ -28,7 +28,7 @@ public: */ xbt_dict_t getProperties(); private: - xbt_dict_t p_properties = NULL; + xbt_dict_t properties_ = nullptr; }; } /* namespace surf */