X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38cb5bcd4fdabf20299eadaaad913ca9d5f16060..d9275f747ba3c37e33a3f301dc70dbbb7e9bae38:/include/simgrid/s4u/Host.hpp?ds=sidebyside diff --git a/include/simgrid/s4u/Host.hpp b/include/simgrid/s4u/Host.hpp index 7be79dc3d5..e745232277 100644 --- a/include/simgrid/s4u/Host.hpp +++ b/include/simgrid/s4u/Host.hpp @@ -40,16 +40,16 @@ class XBT_PUBLIC Host : public xbt::Extendable { friend kernel::resource::VMModel; // Use the pimpl_cpu to compute the VM sharing friend kernel::resource::VirtualMachineImpl; // creates the the pimpl_cpu friend kernel::routing::NetZoneImpl; - friend surf::HostImpl; // call destructor from private implementation + friend kernel::resource::HostImpl; // call destructor from private implementation // The private implementation, that never changes - surf::HostImpl* const pimpl_; + kernel::resource::HostImpl* const pimpl_; kernel::resource::CpuImpl* pimpl_cpu_ = nullptr; kernel::routing::NetPoint* pimpl_netpoint_ = nullptr; public: - explicit Host(surf::HostImpl* pimpl) : pimpl_(pimpl) {} + explicit Host(kernel::resource::HostImpl* pimpl) : pimpl_(pimpl) {} protected: virtual ~Host(); // Call destroy() instead of manually deleting it. @@ -243,7 +243,7 @@ public: /** Block the calling actor on an execution located on the called host (with explicit priority) */ void execute(double flops, double priority) const; - surf::HostImpl* get_impl() const { return pimpl_; } + kernel::resource::HostImpl* get_impl() const { return pimpl_; } }; } // namespace s4u } // namespace simgrid