Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s/NULL/nullptr/ in our C++ codebase
[simgrid.git] / src / surf / PropertyHolder.hpp
index 3d2cdf1..e7da433 100644 (file)
@@ -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 properties_ = NULL;
+  xbt_dict_t properties_ = nullptr;
 };
 
 } /* namespace surf */