X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2a07cc1dc95048c86a3fc76aca2e9c088f7b5025..1ffd336de7f3917df1d0cbbacc0e077b4b5c1363:/src/mc/sosp/mc_snapshot.cpp diff --git a/src/mc/sosp/mc_snapshot.cpp b/src/mc/sosp/mc_snapshot.cpp index da489b9abb..e8d20cfdea 100644 --- a/src/mc/sosp/mc_snapshot.cpp +++ b/src/mc/sosp/mc_snapshot.cpp @@ -122,7 +122,7 @@ void Snapshot::add_region(RegionType type, ObjectInformation* object_info, void* #if HAVE_SMPI const bool privatization_aware = object_info && mc_model_checker->process().privatized(*object_info); if (privatization_aware && MC_smpi_process_count()) - region = simgrid::mc::privatized_region(type, start_addr, permanent_addr, size); + region = new RegionPrivatized(type, start_addr, permanent_addr, size); else #endif region = simgrid::mc::region(type, start_addr, permanent_addr, size);