-/* 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. */
#include "smpi_info.hpp"
#include "smpi_request.hpp"
#include "smpi_win.hpp"
+#include "src/kernel/resource/HostImpl.hpp"
#include "src/smpi/include/smpi_actor.hpp"
-#include "src/surf/HostImpl.hpp"
#include <limits>
std::array<char, MPI_MAX_NAME_STRING + 1> name;
this->get_name(name.data(), &size);
if (name[0]=='\0')
- return std::string("MPI_Comm");
+ return "MPI_Comm";
else
- return std::string(name.data());
+ return name.data();
}