X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/347996b4a10c4e8579080692afa60e0afb88b60a..c9197fe448d95724ea56119ac409e6460ed86b8a:/src/surf/PropertyHolder.hpp diff --git a/src/surf/PropertyHolder.hpp b/src/surf/PropertyHolder.hpp index 0684173fa6..e7da433266 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(xbt_dict_t props); ~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 */