Skip to content

Commit 27c17ce

Browse files
addaleaxevanlucas
authored andcommitted
src: fix FindFirstCharacter argument alignment
PR-URL: #6511 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trevor Norris <[email protected]>
1 parent 37736f4 commit 27c17ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/string_search.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ inline const void* MemrchrFill(const void* haystack, uint8_t needle,
252252
// `subject`. Does not check that the whole pattern matches.
253253
template <typename Char>
254254
inline size_t FindFirstCharacter(Vector<const Char> pattern,
255-
Vector<const Char> subject, size_t index) {
255+
Vector<const Char> subject, size_t index) {
256256
const Char pattern_first_char = pattern[0];
257257
const size_t max_n = (subject.length() - pattern.length() + 1);
258258

0 commit comments

Comments
 (0)