X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a5c102f3397e8112b97c27981bfdbcaac76d79f6..2558c8c0eb206ff353cb88672f5a90cd0e2562d3:/src/s4u/s4u_Exec.cpp diff --git a/src/s4u/s4u_Exec.cpp b/src/s4u/s4u_Exec.cpp index 89f738684c..60bdd349af 100644 --- a/src/s4u/s4u_Exec.cpp +++ b/src/s4u/s4u_Exec.cpp @@ -127,10 +127,10 @@ ExecSeq::ExecSeq(sg_host_t host, double flops_amount) : Exec(), flops_amount_(fl Exec* ExecSeq::start() { simix::simcall([this] { - boost::static_pointer_cast(pimpl_) - ->set_name(name_) - ->set_tracing_category(tracing_category_) - ->start(flops_amount_, 1. / priority_, bound_); + (*boost::static_pointer_cast(pimpl_)) + .set_name(name_) + .set_tracing_category(tracing_category_) + .start(flops_amount_, 1. / priority_, bound_); }); state_ = State::STARTED; on_start(*Actor::self());