fix the stupid iterator

v1
Brett 2024-08-06 18:50:50 -04:00
parent 785565f03e
commit 42fa378200
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20) cmake_minimum_required(VERSION 3.20)
include(cmake/color.cmake) 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_TEST_VERSION 0.0.1)
set(BLT_TARGET BLT) set(BLT_TARGET BLT)

View File

@ -196,7 +196,7 @@ namespace blt
template<typename Begin, typename End> template<typename Begin, typename End>
static inline auto reverse_iterate(Begin&& begin, End&& end) static inline auto reverse_iterate(Begin&& begin, End&& end)
{ {
return itr::itr_container{std::reverse_iterator(std::forward<Begin>(begin)), std::reverse_iterator(std::forward<End>(end))}; return itr::itr_container{std::reverse_iterator(std::forward<Begin>(end)), std::reverse_iterator(std::forward<End>(begin))};
} }
template<typename T> template<typename T>