-/* Copyright (c) 2016-2018. The SimGrid Team.
+/* Copyright (c) 2016-2019. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
simgrid::xbt::fulfill_promise(promise, [&] { return continuation(std::move(future)); });
},
std::move(promise), state, std::move(continuation)));
- return std::move(future);
+ return future;
}
template <class F>