X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0f2a0c5fa3533c3cc23788659c72950a8da14bd8..3388e09cbb920fc3b904327f3b254f794e231ed1:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index bbe2e73900..e1bcbac22f 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -132,8 +132,7 @@ class XBT_PUBLIC Actor : public simgrid::xbt::Extendable { static std::function wrap_task(F f, Args... args) { typedef decltype(f(std::move(args)...)) R; - auto task = std::make_shared>( - simgrid::xbt::makeTask(std::move(f), std::move(args)...)); + auto task = std::make_shared>(simgrid::xbt::make_task(std::move(f), std::move(args)...)); return [task] { (*task)(); }; }