X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/33ab927a5c7716530d8cadec7f1200976713453c..24760d83c71aa79e6aab9d3922d30a607a6cf7da:/examples/cpp/operation-variable-load/s4u-operation-variable-load.cpp diff --git a/examples/cpp/operation-variable-load/s4u-operation-variable-load.cpp b/examples/cpp/operation-variable-load/s4u-operation-variable-load.cpp index 2144807b9b..9eea3da856 100644 --- a/examples/cpp/operation-variable-load/s4u-operation-variable-load.cpp +++ b/examples/cpp/operation-variable-load/s4u-operation-variable-load.cpp @@ -44,8 +44,8 @@ int main(int argc, char* argv[]) auto jupiter = e.host_by_name("Jupiter"); // Create operations - auto comm = simgrid::plugins::CommOp::create("comm", 1e7, tremblay, jupiter); - auto exec = simgrid::plugins::ExecOp::create("exec", 1e9, jupiter); + auto comm = simgrid::plugins::CommOp::init("comm", 1e7, tremblay, jupiter); + auto exec = simgrid::plugins::ExecOp::init("exec", 1e9, jupiter); // Create the graph by defining dependencies between operations comm->add_successor(exec);