Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow to destroy VMs that are not started yet (fix #172)
[simgrid.git] / src / bindings / lua / lua_host.cpp
index 71484a42518acbf1ba6b9eec96c18b3926f1add8..4d4eac910aadc8a589d2ec83ddec1cd026b68063 100644 (file)
@@ -34,7 +34,7 @@ sg_host_t sglua_check_host(lua_State * L, int index)
   if (pi == nullptr)
     XBT_ERROR("luaL_checkudata() returned nullptr");
   sg_host_t ht = *pi;
-  if (!ht)
+  if (not ht)
     luaL_error(L, "null Host");
   return ht;
 }