mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
Adapt the promise to the latest tag changes
This commit is contained in:
parent
172f3561e9
commit
7accbdf41c
@ -67,13 +67,13 @@ public:
|
||||
/// Resolves the continuation with the given values
|
||||
template <typename... 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
|
||||
template <typename... 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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user