X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b94fa144e9b0c70d91ea56d7d5e40d6d1341b64a..23a00833ef66ff4383394e3cac558a5232d4bd62:/include/simgrid/Host.hpp?ds=sidebyside diff --git a/include/simgrid/Host.hpp b/include/simgrid/Host.hpp index 6e102c286d..2810c162be 100644 --- a/include/simgrid/Host.hpp +++ b/include/simgrid/Host.hpp @@ -19,13 +19,14 @@ namespace simgrid { XBT_PUBLIC_CLASS Host : - public simgrid::xbt::Extendable { +public simgrid::xbt::Extendable { - public: - surf::Cpu *p_cpu; +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();