std::string file_name = action[2];
double clock = simgrid::s4u::Engine::get_clock();
- simgrid::s4u::File* file = get_file_descriptor(file_name);
+ const simgrid::s4u::File* file = get_file_descriptor(file_name);
ACT_DEBUG("Entering Close: %s (filename: %s)", NAME.c_str(), file_name.c_str());
delete file;
{
const char* res = "";
if (not SIMIX_is_maestro()) {
- simgrid::s4u::Host* host = simgrid::kernel::actor::ActorImpl::self()->get_host();
+ const simgrid::s4u::Host* host = simgrid::kernel::actor::ActorImpl::self()->get_host();
if (host != nullptr)
res = host->get_cname();
}
int it;
sg_host_t host;
xbt_dynar_foreach(hosts, it, host) {
- simgrid::kernel::routing::NetPoint* nc = host->get_netpoint();
+ const simgrid::kernel::routing::NetPoint* nc = host->get_netpoint();
const char *type = "buggy";
if (nc->is_router())
type = "router";