diff --git a/include/seqan3/range/views/drop.hpp b/include/seqan3/range/views/drop.hpp index 87b5fb891c..d1680ca948 100644 --- a/include/seqan3/range/views/drop.hpp +++ b/include/seqan3/range/views/drop.hpp @@ -92,7 +92,9 @@ struct drop_fn // std::views::drop else { - return std::forward(urange) | std::views::drop(drop_size); + using drop_size_t = std::ranges::range_difference_t; + // urange | std::views::drop(drop_size); + return std::views::drop(std::forward(urange), static_cast(drop_size)); } } };