* under the terms of the license (GNU LGPL) which comes with this package. */
#include <cassert>
+#include <cstddef>
#include <cstdlib>
+#include <memory>
+#include <type_traits>
+#include <utility>
#include <vector>
#include <xbt/log.h>
#include <xbt/str.h>
#include <xbt/swag.h>
-#include "src/simix/smx_private.h"
+#include <simgrid/s4u/host.hpp>
+#include "src/simix/smx_private.h"
#include "src/mc/mc_smx.h"
#include "src/mc/ModelChecker.hpp"
simgrid::xbt::string_data remote_string = process->read(remote_string_address);
char hostname[remote_string.len];
process->read_bytes(hostname, remote_string.len + 1, remote(remote_string.data));
- info->hostname = mc_model_checker->get_host_name(hostname);
+ info->hostname = mc_model_checker->get_host_name(hostname).c_str();
return info->hostname;
}