-/* Copyright (c) 2017-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2017-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. */
std::string path;
for (const auto* l : links)
- path += (path.empty() ? "" : ", ") + std::string("link '") + l->get_name() + std::string("'");
+ path += std::string(path.empty() ? "" : ", ") + "link '" + l->get_name() + "'";
XBT_INFO("Path from Jupiter to Fafard: %s (latency: %fs).", path.c_str(), lat);
for (int i = 0; i < 10; i++) {