Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
normalize s_type class part 2
[simgrid.git] / src / smpi / colls / smpi_automatic_selector.cpp
index 31d70d5..e4ed65a 100644 (file)
@@ -16,9 +16,9 @@
 
 #define TRACE_AUTO_COLL(cat)                                                                                           \
   if (TRACE_is_enabled()) {                                                                                            \
-    type_t type = s_type::s_type_get_or_null(#cat, PJ_type_get_root());                                                       \
+    type_t type = Type::getOrNull(#cat, PJ_type_get_root());                                                       \
     if (not type) {                                                                                                    \
-      type = PJ_type_event_new(#cat, PJ_type_get_root());                                                              \
+      type = Type::eventNew(#cat, PJ_type_get_root());                                                              \
     }                                                                                                                  \
     char cont_name[25];                                                                                                \
     snprintf(cont_name, 25, "rank-%d", smpi_process()->index());                                                       \