diff options
author | Anna Henningsen <anna@addaleax.net> | 2016-05-03 03:51:52 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2016-05-04 22:14:20 +0200 |
commit | bfe645d1f47c527ced252a6303b5e30bb8c3d6f6 (patch) | |
tree | f1cfb8b26a6721273424bf8501c1c191d615b822 /src/string_search.h | |
parent | 4d49bcb73edb12992a0a01c10c9d961a59b6fee4 (diff) | |
download | node-new-bfe645d1f47c527ced252a6303b5e30bb8c3d6f6.tar.gz |
src: fix FindFirstCharacter argument alignment
PR-URL: https://github.com/nodejs/node/pull/6511
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/string_search.h')
-rw-r--r-- | src/string_search.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_search.h b/src/string_search.h index bf246702d7..a9345eb802 100644 --- a/src/string_search.h +++ b/src/string_search.h @@ -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); |