From 9868c832a18b95b10e344d38ec4783d4ecc3a0a7 Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 6 Oct 2025 14:46:40 +0300 Subject: [PATCH] Corrects function signature Adjusts the `scan_for_pattern` function signature to correctly use `const std::string_view&`. --- include/omath/utility/pattern_scan.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/omath/utility/pattern_scan.hpp b/include/omath/utility/pattern_scan.hpp index d1596a9..317bdaa 100644 --- a/include/omath/utility/pattern_scan.hpp +++ b/include/omath/utility/pattern_scan.hpp @@ -37,7 +37,7 @@ namespace omath public: [[nodiscard]] static std::span::const_iterator scan_for_pattern(const std::span& range, - const std::string_view& pattern); + const std::string_view& pattern); template requires std::input_or_output_iterator>