X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f0534a5e2af72c36c12d55f7ea323040e6e9bf36..3c7c64745aa5e60415bb85af482c7b0d0fca2b2b:/examples/cpp/dag-comm/s4u-dag-comm.cpp?ds=sidebyside 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) {