X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c293707c100f6ca5b5b424f43ced5cb9125d32fe..6aff24ba47ceab30e29e122dc36c33995e6fc2dd:/src/surf/network_cm02.hpp diff --git a/src/surf/network_cm02.hpp b/src/surf/network_cm02.hpp index 346b1abbf3..41a679ee6f 100644 --- a/src/surf/network_cm02.hpp +++ b/src/surf/network_cm02.hpp @@ -45,7 +45,7 @@ namespace simgrid { xbt_dict_t properties) override; void updateActionsStateLazy(double now, double delta) override; void updateActionsStateFull(double now, double delta) override; - Action *communicate(kernel::routing::NetCard *src, kernel::routing::NetCard *dst, double size, double rate) override; + Action* communicate(s4u::Host* src, s4u::Host* dst, double size, double rate) override; virtual void gapAppend(double size, const Link* link, NetworkAction* action); protected: bool haveGap_ = false; @@ -72,7 +72,7 @@ namespace simgrid { * Action * **********/ class NetworkCm02Action : public NetworkAction { - friend Action *NetworkCm02Model::communicate(kernel::routing::NetCard *src, kernel::routing::NetCard *dst, double size, double rate); + friend Action* NetworkCm02Model::communicate(s4u::Host* src, s4u::Host* dst, double size, double rate); friend NetworkSmpiModel; public: NetworkCm02Action(Model *model, double cost, bool failed)