X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a9919f554fd42fdb9a26defe86adbb1c3cfa59bd..390ee57ed79bf7577c2bce6df6a25aba57ff476e:/src/surf/PropertyHolder.hpp diff --git a/src/surf/PropertyHolder.hpp b/src/surf/PropertyHolder.hpp index 3d2cdf1d82..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 properties_ = NULL; + xbt_dict_t properties_ = nullptr; }; } /* namespace surf */