Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use standard __func__ instead of __FUNCTION__.
[simgrid.git] / src / smpi / internals / instr_smpi.cpp
index 1ce8ac6..2e3876e 100644 (file)
@@ -155,7 +155,7 @@ void TRACE_smpi_init(int rank)
   }else{
     father = simgrid::instr::Container::getRoot();
   }
-  xbt_assert(father != nullptr, "Could not find a parent for mpi rank %s at function %s", str.c_str(), __FUNCTION__);
+  xbt_assert(father != nullptr, "Could not find a parent for mpi rank %s at function %s", str.c_str(), __func__);
   father->createChild(str, "MPI");
 #if HAVE_PAPI
   container_t container   = simgrid::instr::Container::byName(str);