#include "xbt/sysdep.h"
#include "xbt/log.h"
-#include "simgrid/s4u/as.hpp"
+#include "simgrid/s4u/As.hpp"
#include "simgrid/s4u/engine.hpp"
-#ifdef HAVE_LUA
+#if HAVE_LUA
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
const char *MSG_environment_as_get_property_value(msg_as_t as, const char *name)
{
xbt_dict_t dict = (xbt_dict_t) xbt_lib_get_or_null(as_router_lib, MSG_environment_as_get_name(as), ROUTING_PROP_ASR_LEVEL);
- if (dict==NULL)
- return NULL;
+ if (dict==nullptr)
+ return nullptr;
return (char*) xbt_dict_get_or_null(dict, name);
}