X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa3d11f5b1b16193d2c0bbd389d22fd303349e0f..1ca34b76da924ef9743ce07316d18e69ba45374f:/src/simix/SynchroExec.hpp diff --git a/src/simix/SynchroExec.hpp b/src/simix/SynchroExec.hpp index 58951ce1b0..b9e31aa407 100644 --- a/src/simix/SynchroExec.hpp +++ b/src/simix/SynchroExec.hpp @@ -13,7 +13,7 @@ namespace simgrid { namespace simix { XBT_PUBLIC_CLASS Exec : public Synchro { - ~Exec(); + ~Exec() override; public: Exec(const char*name, sg_host_t host); void suspend() override; @@ -21,8 +21,8 @@ namespace simix { void post() override; double remains(); - sg_host_t host; /* The host where the execution takes place. If NULL, then this is a parallel exec (and only surf knows the hosts) */ - surf_action_t surf_exec=nullptr;/* The Surf execution action encapsulated */ + sg_host_t host = nullptr; /* The host where the execution takes place. If nullptr, then this is a parallel exec (and only surf knows the hosts) */ + surf_action_t surf_exec = nullptr; /* The Surf execution action encapsulated */ }; }} // namespace simgrid::simix