X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a4a0b7a61683f71695edc5b66c554d209311699f..e595b191c3e10a96a9d896f6ecec9c4df6707aef:/include/simgrid/s4u/ConditionVariable.hpp diff --git a/include/simgrid/s4u/ConditionVariable.hpp b/include/simgrid/s4u/ConditionVariable.hpp index b1e2be3e85..5af34467d6 100644 --- a/include/simgrid/s4u/ConditionVariable.hpp +++ b/include/simgrid/s4u/ConditionVariable.hpp @@ -104,8 +104,10 @@ public: void notify_one(); void notify_all(); - XBT_ATTRIB_DEPRECATED("Use notify_one() instead") - void notify() { notify_one(); } + XBT_ATTRIB_DEPRECATED_v319("Use notify_one(): v3.19 will change this warning into an error.") void notify() + { + notify_one(); + } }; using ConditionVariablePtr = ConditionVariable::Ptr;