From: Arnaud Giersch Date: Thu, 7 Dec 2017 20:03:32 +0000 (+0100) Subject: Another "explicit" forgotten with previous commits. X-Git-Tag: v3.18~106 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0e891586dc32fa326d78275a74f644a83386bfe8 Another "explicit" forgotten with previous commits. --- diff --git a/include/simgrid/kernel/future.hpp b/include/simgrid/kernel/future.hpp index d1ec120beb..7ecfacab94 100644 --- a/include/simgrid/kernel/future.hpp +++ b/include/simgrid/kernel/future.hpp @@ -209,7 +209,7 @@ void bindPromise(Promise promise, Future future) { class PromiseBinder { public: - PromiseBinder(Promise promise) : promise_(std::move(promise)) {} + explicit PromiseBinder(Promise promise) : promise_(std::move(promise)) {} void operator()(Future future) { simgrid::xbt::setPromise(promise_, future);