Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2fac15b

Browse filesBrowse files
addaleaxMyles Borins
authored andcommitted
src: fix FindFirstCharacter argument alignment
PR-URL: #6511 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
1 parent 8b077fa commit 2fac15b
Copy full SHA for 2fac15b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎src/string_search.h‎

Copy file name to clipboardExpand all lines: src/string_search.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ inline uint8_t GetHighestValueByte(uint8_t character) { return character; }
276276

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.