From d8f943ba6203d8bfccb340e4c71db8fa6ba02118 Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 27 Feb 2025 15:19:50 -0500 Subject: [PATCH] chhange --- CMakeLists.txt | 2 +- include/blt/iterator/flatten.h | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 73252bd..574560d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 4.0.32) +set(BLT_VERSION 4.0.33) set(BLT_TARGET BLT) diff --git a/include/blt/iterator/flatten.h b/include/blt/iterator/flatten.h index e6b22f9..75577dc 100644 --- a/include/blt/iterator/flatten.h +++ b/include/blt/iterator/flatten.h @@ -31,9 +31,14 @@ namespace blt::iterator { using type = std::tuple; + static auto convert(T& f) + { + return std::forward_as_tuple(f); + } + static auto convert(T&& f) { - return std::forward_as_tuple(std::forward(f)); + return std::forward_as_tuple(f); } };