X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a13db94f50023e3e9ad850b936b69b5f85b7fb7..24de4abff1dbfc7c779f6768186be603342df002:/src/s4u/s4u_actor.cpp diff --git a/src/s4u/s4u_actor.cpp b/src/s4u/s4u_actor.cpp index 8803ed0dab..03cd93b128 100644 --- a/src/s4u/s4u_actor.cpp +++ b/src/s4u/s4u_actor.cpp @@ -311,7 +311,7 @@ ExecPtr exec_init(double flops_amount) ExecPtr res = ExecPtr(new Exec()); res->host_ = getHost(); res->flops_amount_ = flops_amount; - res->setRemains(flops_amount); + res->set_remaining(flops_amount); return res; }