Skip to content

Commit 9102ecc

Browse files
committed
fix: use member functions for reversing
1 parent 5392031 commit 9102ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/matcher.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ std::vector<size_t> computeMatch(const CandidateString &subject, const Candidate
146146
}
147147
}
148148

149-
std::reverse(std::begin(matches), std::end(matches));
149+
std::reverse(matches.begin(), matches.end());
150150
return matches;
151151
}
152152

0 commit comments

Comments
 (0)