Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate the is_off() methods.
[simgrid.git] / src / msg / msg_legacy.cpp
index 7636c9d..578f862 100644 (file)
@@ -283,9 +283,9 @@ int MSG_host_is_on(sg_host_t h)
 {
   return sg_host_is_on(h);
 }
-int MSG_host_is_off(sg_host_t h)
+int MSG_host_is_off(sg_host_t h) // deprecated
 {
-  return sg_host_is_off(h);
+  return not sg_host_is_on(h);
 }
 xbt_dict_t MSG_host_get_properties(sg_host_t host)
 {