From: Martin Quinson Date: Mon, 12 Nov 2018 05:14:01 +0000 (+0100) Subject: fix clang build X-Git-Tag: v3_22~799 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bbe2135375120a3460f4cb543cb0764494d71eb1 fix clang build --- diff --git a/src/s4u/s4u_Actor.cpp b/src/s4u/s4u_Actor.cpp index 816540bc58..83ea57183e 100644 --- a/src/s4u/s4u_Actor.cpp +++ b/src/s4u/s4u_Actor.cpp @@ -47,7 +47,7 @@ ActorPtr Actor::create(std::string name, s4u::Host* host, std::function ActorPtr Actor::create(std::string name, s4u::Host* host, std::string function, std::vector args) { simgrid::simix::ActorCodeFactory& factory = SIMIX_get_actor_code_factory(function); - return create(name, host, std::move(factory(std::move(args)))); + return create(name, host, factory(std::move(args))); } void intrusive_ptr_add_ref(Actor* actor)