X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d3cb667dd14c2ff2df69c389ebecc47e80c2237f..30170a4153b4c4659423d2e2b9c9a6a3fdc31882:/include/simgrid/s4u/ConditionVariable.hpp diff --git a/include/simgrid/s4u/ConditionVariable.hpp b/include/simgrid/s4u/ConditionVariable.hpp index c40482fee1..5af34467d6 100644 --- a/include/simgrid/s4u/ConditionVariable.hpp +++ b/include/simgrid/s4u/ConditionVariable.hpp @@ -104,7 +104,10 @@ public: void notify_one(); void notify_all(); - XBT_ATTRIB_DEPRECATED_v319("Use notify_one(): v3.19 will remove notify() completely.") 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;