Fix test 00233_position_function_family

This commit is contained in:
Robert Schulze 2022-06-30 11:43:25 +00:00
parent 81bb2242fd
commit 1e3b5bfcb7
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -853,7 +853,8 @@ struct StdLibASCIIStringSearcher : public StringSearcherBase
else else
{ {
return std::search( return std::search(
haystack_start, haystack_end, needle_start, needle_end); haystack_start, haystack_end, needle_start, needle_end,
[](char c1, char c2) {return c1 == c2;});
} }
} }