Skip to content

Commit

Permalink
src: fix FindFirstCharacter argument alignment
Browse files Browse the repository at this point in the history
PR-URL: #6511
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
  • Loading branch information
addaleax authored and evanlucas committed May 17, 2016
1 parent 37736f4 commit 27c17ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string_search.h
Expand Up @@ -252,7 +252,7 @@ inline const void* MemrchrFill(const void* haystack, uint8_t needle,
// `subject`. Does not check that the whole pattern matches.
template <typename Char>
inline size_t FindFirstCharacter(Vector<const Char> pattern,
Vector<const Char> subject, size_t index) {
Vector<const Char> subject, size_t index) {
const Char pattern_first_char = pattern[0];
const size_t max_n = (subject.length() - pattern.length() + 1);

Expand Down

0 comments on commit 27c17ce

Please sign in to comment.