Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a few test with dpor
[simgrid.git] / examples / cpp / app-chainsend / s4u-app-chainsend.cpp
index bddfeb4..2ba057c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2023. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -123,7 +123,7 @@ public:
   Broadcaster(int hostcount, unsigned int piece_count) : piece_count(piece_count)
   {
     for (int i = 1; i <= hostcount; i++) {
-      std::string name = std::string("node-") + std::to_string(i) + ".simgrid.org";
+      std::string name = "node-" + std::to_string(i) + ".simgrid.org";
       XBT_DEBUG("%s", name.c_str());
       mailboxes.push_back(sg4::Mailbox::by_name(name));
     }