X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16bbb8a8212497d9c44c81333ed2c0e689e0c5af..30aca4d4af004d1ec899d12f0a9fe3997e9be15e:/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 */