From 2fcc2bf28157a90e593b204b7d4c9edce46c47f3 Mon Sep 17 00:00:00 2001 From: sTabishAzam <77442787+sTabishAzam@users.noreply.github.com> Date: Thu, 11 Nov 2021 11:42:27 +0500 Subject: [PATCH] Update connection-seq.hpp This was causing error on usage of when seq :: "result is not a type name static or enumerator" --- .../continuable/detail/connection/connection-seq.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/continuable/detail/connection/connection-seq.hpp b/include/continuable/detail/connection/connection-seq.hpp index 71ba9a0..7e274c0 100644 --- a/include/continuable/detail/connection/connection-seq.hpp +++ b/include/continuable/detail/connection/connection-seq.hpp @@ -147,24 +147,24 @@ struct connection_finalizer { template static auto finalize(Connection&& connection, util::ownership ownership) { - auto result = + auto res = aggregated::box_continuables(std::forward(connection)); - auto signature = aggregated::hint_of_data(); + auto signature = aggregated::hint_of_data(); return base::attorney::create_from( - [result = std::move(result)](auto&& callback) mutable { + [res = std::move(res)](auto&& callback) mutable { // The data from which the visitor is constructed in-place using data_t = seq::sequential_dispatch_data, - std::decay_t>; + std::decay_t>; // The visitor type using visitor_t = seq::sequential_dispatch_visitor; traverse_pack_async(async_traverse_in_place_tag{}, data_t{std::forward(callback), - std::move(result)}); + std::move(res)}); }, signature, std::move(ownership)); }