From 42fa3782007e92119f550fcc8c871398ec1310e8 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Tue, 6 Aug 2024 18:50:50 -0400 Subject: [PATCH] fix the stupid iterator --- 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 fd8a7be..c8272df 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.24) +set(BLT_VERSION 0.18.25) 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 e9c6f93..0d53c0d 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(end)), std::reverse_iterator(std::forward(begin))}; } template