X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/347f9a2ca55bffc88bf965952b9be3a15535e908..23a00833ef66ff4383394e3cac558a5232d4bd62:/include/simgrid/Host.hpp diff --git a/include/simgrid/Host.hpp b/include/simgrid/Host.hpp index d4d211a04b..2810c162be 100644 --- a/include/simgrid/Host.hpp +++ b/include/simgrid/Host.hpp @@ -19,9 +19,14 @@ namespace simgrid { XBT_PUBLIC_CLASS Host : - public simgrid::xbt::Extendable { +public simgrid::xbt::Extendable { + +public: + surf::Cpu *p_cpu = nullptr; + surf::NetCard *p_netcard = nullptr; + private: - simgrid::xbt::string name_; + simgrid::xbt::string name_ = "noname"; public: Host(std::string const& name); ~Host();