From b423b21d37f510f7793b6f1bf4e6e6f187fc9a4d Mon Sep 17 00:00:00 2001 From: tcbrindle Date: Wed, 12 Jul 2023 12:34:29 +0000 Subject: [PATCH] Update single header --- single_include/flux.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/single_include/flux.hpp b/single_include/flux.hpp index 2932b01a..5413274b 100644 --- a/single_include/flux.hpp +++ b/single_include/flux.hpp @@ -8652,7 +8652,7 @@ struct set_union_adaptor bounded_sequence && bounded_sequence static constexpr auto last(Self& self) -> cursor_type { - return cursor_type{flux::last(self.base1_), flux::last(self.base2_)}; + return cursor_type{flux::last(self.base1_), flux::last(self.base2_), cursor_type::second}; } template @@ -9085,6 +9085,7 @@ inline constexpr auto set_intersection = detail::set_intersection_fn{}; #endif // namespace FLUX_OP_SET_ADAPTORS_HPP_INCLUDED + // Copyright (c) 2023 Tristan Brindle (tcbrindle at gmail dot com) // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)