mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-14 07:23:26 +00:00
Corrects function signature
Adjusts the `scan_for_pattern` function signature to correctly use `const std::string_view&`.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace omath
|
|||||||
public:
|
public:
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
static std::span<std::byte>::const_iterator scan_for_pattern(const std::span<std::byte>& range,
|
static std::span<std::byte>::const_iterator scan_for_pattern(const std::span<std::byte>& range,
|
||||||
const std::string_view& pattern);
|
const std::string_view& pattern);
|
||||||
|
|
||||||
template<class IteratorType>
|
template<class IteratorType>
|
||||||
requires std::input_or_output_iterator<std::remove_cvref_t<IteratorType>>
|
requires std::input_or_output_iterator<std::remove_cvref_t<IteratorType>>
|
||||||
|
|||||||
Reference in New Issue
Block a user