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 Myles Borins committed May 18, 2016
1 parent 8b077fa commit 2fac15b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/string_search.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ inline uint8_t GetHighestValueByte(uint8_t character) { return character; }

template <typename PatternChar, typename SubjectChar>
inline size_t FindFirstCharacter(Vector<const PatternChar> pattern,
Vector<const SubjectChar> subject, size_t index) {
Vector<const SubjectChar> subject,
size_t index) {
const PatternChar pattern_first_char = pattern[0];
const size_t max_n = (subject.length() - pattern.length() + 1);

Expand Down

0 comments on commit 2fac15b

Please sign in to comment.