X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ad3df427c8bc074492b4ab2b1fe81a9698ac4471..8af3607f20f101aafe0eee4ca05f4335b02802d0:/examples/cpp/comm-waituntil/s4u-comm-waituntil.cpp diff --git a/examples/cpp/comm-waituntil/s4u-comm-waituntil.cpp b/examples/cpp/comm-waituntil/s4u-comm-waituntil.cpp index a24ca3ab67..9b1d885341 100644 --- a/examples/cpp/comm-waituntil/s4u-comm-waituntil.cpp +++ b/examples/cpp/comm-waituntil/s4u-comm-waituntil.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-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. */ @@ -25,7 +25,7 @@ static void sender(int messages_count, size_t payload_size) /* Start dispatching all messages to the receiver */ for (int i = 0; i < messages_count; i++) { - std::string message = std::string("Message ") + std::to_string(i); + std::string message = "Message " + std::to_string(i); auto* payload = new std::string(message); // copy the data we send: // 'msgName' is not a stable storage location