We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b077fa commit 2fac15bCopy full SHA for 2fac15b
src/string_search.h
@@ -276,7 +276,8 @@ inline uint8_t GetHighestValueByte(uint8_t character) { return character; }
276
277
template <typename PatternChar, typename SubjectChar>
278
inline size_t FindFirstCharacter(Vector<const PatternChar> pattern,
279
- Vector<const SubjectChar> subject, size_t index) {
+ Vector<const SubjectChar> subject,
280
+ size_t index) {
281
const PatternChar pattern_first_char = pattern[0];
282
const size_t max_n = (subject.length() - pattern.length() + 1);
283
0 commit comments