Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Coding style: ! -> 'not'.
[simgrid.git] / src / bindings / lua / lua_private.hpp
index 3550376..7200558 100644 (file)
@@ -21,7 +21,7 @@ void sglua_register_platf_functions(lua_State* L);
 #define _lua_ensure_ARG1(cond) _lua_ensure_ARGN((cond), "Assertion " _XBT_STRINGIFY(cond) " failed")
 #define _lua_ensure_ARGN(cond, ...)                                                                                    \
   do {                                                                                                                 \
-    if (!(cond)) {                                                                                                     \
+    if (not(cond)) {                                                                                                   \
       luaL_error(L, __VA_ARGS__);                                                                                      \
       return -1;                                                                                                       \
     }                                                                                                                  \