X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3622a9c058d91313ef3d2bf6af1b54ab5f4786f8..ea31ec0e5a9d8c016194492e5c943188281950ea:/src/surf/host_ptask_L07.hpp diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 55645be226..bc37f536cb 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -96,12 +96,13 @@ public: class HostL07 : public Host { public: - HostL07(HostModel *model, const char* name, xbt_dict_t props, RoutingEdge *netElm, Cpu *cpu); - ~HostL07(); + HostL07(HostModel *model, const char* name, xbt_dict_t props, RoutingEdge *netElm, Cpu *cpu) + : Host(model, name, props, NULL, netElm, cpu) + {} + ~HostL07() + {} bool isUsed() override {DIE_IMPOSSIBLE;}; void updateState(tmgr_trace_event_t /*event_type*/, double /*value*/, double /*date*/) override {DIE_IMPOSSIBLE;}; - Action *execute(double size) override {return p_cpu->execute(size);}; - Action *sleep(double duration) override {return p_cpu->sleep(duration);}; }; class CpuL07 : public Cpu {