X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f297c9dd6b6f32b6386d2e9b329740d13948f4a4..1643b1711d3403b8c3ae7091e38cb69f5f9a1272:/include/xbt/future.hpp diff --git a/include/xbt/future.hpp b/include/xbt/future.hpp index 521b02ba94..1bcf58209b 100644 --- a/include/xbt/future.hpp +++ b/include/xbt/future.hpp @@ -259,11 +259,6 @@ template inline void set_promise(P& promise, F&& future) { fulfill_promise(promise, [&] { return std::forward(future).get(); }); } -template -inline XBT_ATTRIB_DEPRECATED_v323("Please use xbt::set_promise()") void setPromise(P& promise, F&& future) -{ - fulfill_promise(promise, [&] { return std::forward(future).get(); }); -} } }