Adapt the promise to the latest tag changes

This commit is contained in:
Denis Blank 2017-09-28 05:03:15 +02:00
parent 172f3561e9
commit 7accbdf41c

View File

@ -67,13 +67,13 @@ public:
/// Resolves the continuation with the given values /// Resolves the continuation with the given values
template <typename... Args> template <typename... Args>
void set_value(Args&&... args) { void set_value(Args&&... args) {
data_(detail::base::dispatch_result_tag{}, std::forward<Args>(args)...); data_(std::forward<Args>(args)...);
} }
/// Resolves the continuation with the given values /// Resolves the continuation with the given values
template <typename... Args> template <typename... Args>
void operator()(Args&&... args) { void operator()(Args&&... args) {
data_(detail::base::dispatch_result_tag{}, std::forward<Args>(args)...); data_(std::forward<Args>(args)...);
} }
/// Resolves the continuation with the given error variable. /// Resolves the continuation with the given error variable.