]> AND Private Git Repository - loba.git/blobdiff - hostdata.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Replace NULL with nullptr.
[loba.git] / hostdata.h
index 722b2bcdc87340095edb6ce7bb669fec8c6f6a95..2c5379a37540831bbdc8fc7a6cce391f0238267b 100644 (file)
@@ -3,7 +3,8 @@
 
 #include <string>
 #include <vector>
 
 #include <string>
 #include <vector>
-#include <msg/msg.h>
+#include <simgrid/msg.h>
+#include "simgrid_features.h"
 
 // Helper class that associates instances of itself with each host.
 // Facilitate global operations on hosts, and retreiving of host name
 
 // Helper class that associates instances of itself with each host.
 // Facilitate global operations on hosts, and retreiving of host name
@@ -15,7 +16,7 @@ public:
     static size_t size()                        { return hosts.size(); }
     static const hostdata& at(size_t i)         { return hosts[i];     }
 
     static size_t size()                        { return hosts.size(); }
     static const hostdata& at(size_t i)         { return hosts[i];     }
 
-    hostdata(m_host_t host);
+    hostdata(msg_host_t host);
     ~hostdata();
 
     const char* get_name() const                { return name;              }
     ~hostdata();
 
     const char* get_name() const                { return name;              }