~fake_host() {}
};
fake_host foo;
- const size_t offset = (char*) &foo.host.id() - (char*) &foo.host;
+ const size_t offset = (char*) &foo.host.getName() - (char*) &foo.host;
// Read the simgrid::xbt::string in the MCed process:
mc_smx_process_info_t info = MC_smx_process_get_info(p);