Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert enum class SmpiPrivStrategies tu upper case.
[simgrid.git] / src / smpi / internals / smpi_process.cpp
index d88c84b..0fd9fd0 100644 (file)
@@ -256,7 +256,7 @@ void Process::init(int *argc, char ***argv){
     // cheinrich: I'm not sure what the impact of the SMPI_switch_data_segment on this call is. I moved
     // this up here so that I can set the privatized region before the switch.
     Process* process = smpi_process_remote(proc);
-    if (smpi_privatize_global_variables == SmpiPrivStrategies::Mmap) {
+    if (smpi_privatize_global_variables == SmpiPrivStrategies::MMAP) {
       /* Now using the segment index of this process  */
       process->set_privatized_region(smpi_init_global_memory_segment_process());
       /* Done at the process's creation */