Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[INCLUDES] NULL -> nullptr substitution.
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 8 Jun 2016 21:26:36 +0000 (23:26 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 9 Jun 2016 07:40:52 +0000 (09:40 +0200)
include/simgrid/s4u/As.hpp
include/simgrid/s4u/host.hpp

index 8e92e04..445424f 100644 (file)
@@ -53,8 +53,8 @@ public:
 
 protected:
   char *name_ = nullptr;
 
 protected:
   char *name_ = nullptr;
-  xbt_dict_t children_ = xbt_dict_new_homogeneous(NULL); // sub-ASes
-  xbt_dynar_t vertices_ = xbt_dynar_new(sizeof(char*),NULL); // our content, as known to our graph routing algorithm (maps vertexId -> vertex)
+  xbt_dict_t children_ = xbt_dict_new_homogeneous(nullptr); // sub-ASes
+  xbt_dynar_t vertices_ = xbt_dynar_new(sizeof(char*),nullptr); // our content, as known to our graph routing algorithm (maps vertexId -> vertex)
 
   std::map<std::pair<std::string, std::string>, std::vector<surf::Link*>*> bypassRoutes_; // srcName x dstName -> route
 
 
   std::map<std::pair<std::string, std::string>, std::vector<surf::Link*>*> bypassRoutes_; // srcName x dstName -> route
 
index 3cec986..3d741de 100644 (file)
@@ -91,7 +91,7 @@ public:
 
 private:
   simgrid::xbt::string name_ = "noname";
 
 private:
   simgrid::xbt::string name_ = "noname";
-  boost::unordered_map<std::string, Storage*> *mounts = NULL; // caching
+  boost::unordered_map<std::string, Storage*> *mounts = nullptr; // caching
 
 public:
   // FIXME: these should be protected, but it leads to many errors
 
 public:
   // FIXME: these should be protected, but it leads to many errors