diff --git a/include/seqan3/range/views/kmer_hash.hpp b/include/seqan3/range/views/kmer_hash.hpp index 08bc0f8d87..ee16e13136 100644 --- a/include/seqan3/range/views/kmer_hash.hpp +++ b/include/seqan3/range/views/kmer_hash.hpp @@ -224,7 +224,7 @@ class kmer_hash_view::shape_iterator //!\brief Reference to `value_type`. using reference = value_type; //!\brief Tag this class as input iterator. - using iterator_category = std::input_iterator_tag; + using iterator_category = typename std::iterator_traits::iterator_category; //!\brief Tag this class depending on which concept `it_t` models. using iterator_concept = std::conditional_t, typename std::random_access_iterator_tag,