X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/41ace32b5ffcd51fe79324b5353e5f1a6029d41e..4485d715fa3a090c1dd38def83ab8239feebecb3:/include/simgrid/kernel/resource/Resource.hpp diff --git a/include/simgrid/kernel/resource/Resource.hpp b/include/simgrid/kernel/resource/Resource.hpp index fa581d1800..ced454389a 100644 --- a/include/simgrid/kernel/resource/Resource.hpp +++ b/include/simgrid/kernel/resource/Resource.hpp @@ -58,7 +58,7 @@ public: /** @brief Check if the current Resource is active */ virtual bool is_on() const; /** @brief Check if the current Resource is shut down */ - virtual bool is_off() const; + XBT_ATTRIB_DEPRECATED_v325("Please use !is_on()") virtual bool is_off() const; /** @brief Turn on the current Resource */ virtual void turn_on(); /** @brief Turn off the current Resource */