/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <float.h>
+#include <cfloat>
#include <exception>
#define TRACE_AUTO_COLL(cat) \
if (TRACE_is_enabled()) { \
- type_t type = PJ_type_get_or_null(#cat, PJ_type_get_root()); \
+ Type* 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()); \