X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/b78d5563826957045678f4c3bcfdcef6c9bfc48d..20ee10ed13aee7d9fb9c844648d5159ed4a054d2:/hostdata.h?ds=sidebyside diff --git a/hostdata.h b/hostdata.h index 703b7a1..2c5379a 100644 --- a/hostdata.h +++ b/hostdata.h @@ -3,7 +3,8 @@ #include #include -#include +#include +#include "simgrid_features.h" // 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]; } - hostdata(m_host_t host); + hostdata(msg_host_t host); ~hostdata(); const char* get_name() const { return name; } @@ -25,7 +26,6 @@ public: private: // static list of hostdata's, used by create/destroy static std::vector hosts; - struct m_host_less; const char* name; std::string ctrl_mbox;