From 7accbdf41cc58c683ec6c2bfded9377010ee1251 Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Thu, 28 Sep 2017 05:03:15 +0200 Subject: [PATCH] Adapt the promise to the latest tag changes --- include/continuable/continuable-promise-base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/continuable/continuable-promise-base.hpp b/include/continuable/continuable-promise-base.hpp index d70e7f9..bacdcf0 100644 --- a/include/continuable/continuable-promise-base.hpp +++ b/include/continuable/continuable-promise-base.hpp @@ -67,13 +67,13 @@ public: /// Resolves the continuation with the given values template void set_value(Args&&... args) { - data_(detail::base::dispatch_result_tag{}, std::forward(args)...); + data_(std::forward(args)...); } /// Resolves the continuation with the given values template void operator()(Args&&... args) { - data_(detail::base::dispatch_result_tag{}, std::forward(args)...); + data_(std::forward(args)...); } /// Resolves the continuation with the given error variable.