From: Gabriel Corona Date: Fri, 15 Jan 2016 10:46:29 +0000 (+0100) Subject: [mc] Fix compilation X-Git-Tag: v3_13~1237^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c257b6f70c01d5107ea6e9d9ebd858f99d42b31a?ds=inline [mc] Fix compilation --- diff --git a/src/mc/mc_smx.cpp b/src/mc/mc_smx.cpp index 0343dae79b..3468c0fe1d 100644 --- a/src/mc/mc_smx.cpp +++ b/src/mc/mc_smx.cpp @@ -196,7 +196,7 @@ const char* MC_smx_process_get_host_name(smx_process_t p) ~fake_host() {} }; fake_host foo; - const size_t offset = (char*) &foo.host.getName() - (char*) &foo.host; + const size_t offset = (char*) &foo.host.name() - (char*) &foo.host; // Read the simgrid::xbt::string in the MCed process: mc_smx_process_info_t info = MC_smx_process_get_info(p);