We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 395b710 commit ae13fc7Copy full SHA for ae13fc7
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