From 7bbd4b90750ea20a08377c600da924d5d6d7f8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Bukovsk=C3=BD?= Date: Tue, 29 Oct 2024 11:21:29 +0100 Subject: [PATCH] Fix using from_range with std::vector<>::const_iterator --- src/catch2/generators/catch_generators_range.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catch2/generators/catch_generators_range.hpp b/src/catch2/generators/catch_generators_range.hpp index b67c1590..55d673c2 100644 --- a/src/catch2/generators/catch_generators_range.hpp +++ b/src/catch2/generators/catch_generators_range.hpp @@ -91,7 +91,7 @@ public: template ::value_type> + typename ResultType = std::remove_const_t::value_type>> GeneratorWrapper from_range(InputIterator from, InputSentinel to) { return GeneratorWrapper(Catch::Detail::make_unique>(from, to)); }