From 785565f03e1234d961b91a04fe9d1f067ddf1fa6 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Tue, 6 Aug 2024 18:40:41 -0400 Subject: [PATCH] forgot to remove template types on reverse iterate --- CMakeLists.txt | 2 +- include/blt/std/ranges.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68008f5..fd8a7be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.18.23) +set(BLT_VERSION 0.18.24) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/std/ranges.h b/include/blt/std/ranges.h index bbd54b5..e9c6f93 100644 --- a/include/blt/std/ranges.h +++ b/include/blt/std/ranges.h @@ -196,7 +196,7 @@ namespace blt template static inline auto reverse_iterate(Begin&& begin, End&& end) { - return itr::itr_container{std::reverse_iterator(std::forward(begin)), std::reverse_iterator(std::forward(end))}; + return itr::itr_container{std::reverse_iterator(std::forward(begin)), std::reverse_iterator(std::forward(end))}; } template