X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd49f9d0ff63334f76e12446cd8076edef85c508..HEAD:/examples/cpp/dag-comm/s4u-dag-comm.cpp diff --git a/examples/cpp/dag-comm/s4u-dag-comm.cpp b/examples/cpp/dag-comm/s4u-dag-comm.cpp index 184e416f9a..77cb31d1de 100644 --- a/examples/cpp/dag-comm/s4u-dag-comm.cpp +++ b/examples/cpp/dag-comm/s4u-dag-comm.cpp @@ -15,8 +15,8 @@ int main(int argc, char* argv[]) sg4::Engine e(&argc, argv); e.load_platform(argv[1]); - auto tremblay = e.host_by_name("Tremblay"); - auto jupiter = e.host_by_name("Jupiter"); + auto* tremblay = e.host_by_name("Tremblay"); + auto* jupiter = e.host_by_name("Jupiter"); // Display the details on vetoed activities sg4::Exec::on_veto_cb([](sg4::Exec const& exec) {