From 5f713e9b14d54492fd9b297a1a852801744c3282 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Wed, 29 Jan 2025 02:27:25 +0300 Subject: [PATCH] Use std::type_identity when possible in counting_iterator.hpp. --- include/boost/iterator/counting_iterator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/iterator/counting_iterator.hpp b/include/boost/iterator/counting_iterator.hpp index 9781d41..55cc517 100644 --- a/include/boost/iterator/counting_iterator.hpp +++ b/include/boost/iterator/counting_iterator.hpp @@ -13,9 +13,9 @@ #include #endif #include -#include #include #include +#include namespace boost { namespace iterators { @@ -109,7 +109,7 @@ namespace detail CategoryOrTraversal , typename std::conditional< is_numeric::value - , boost::type_identity + , iterators::detail::type_identity , iterator_traversal >::type >::type traversal;