forgot to remove template types on reverse iterate

v1
Brett 2024-08-06 18:40:41 -04:00
parent 3e8b616bf9
commit 785565f03e
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.23) set(BLT_VERSION 0.18.24)
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<Begin, End>{std::reverse_iterator(std::forward<Begin>(begin)), std::reverse_iterator(std::forward<End>(end))}; return itr::itr_container{std::reverse_iterator(std::forward<Begin>(begin)), std::reverse_iterator(std::forward<End>(end))};
} }
template<typename T> template<typename T>