-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: fix partialMatch #3413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fix partialMatch #3413
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
/bot run |
PR_Github #1758 [ run ] triggered by Bot |
PR_Github #1758 [ run ] completed with state |
53e828b
to
b6d5479
Compare
/bot reuse-pipeline |
PR_Github #1899 [ reuse-pipeline ] triggered by Bot |
Signed-off-by: pansicheng <[email protected]>
b6d5479
to
1d29df4
Compare
/bot reuse-pipeline |
PR_Github #1899 [ reuse-pipeline ] completed with state |
PR_Github #1901 [ reuse-pipeline ] triggered by Bot |
PR_Github #1901 [ reuse-pipeline ] completed with state |
If other.uniqueTokens.end() is not passed, the second range will have std::distance(first1, last1) elements, potentially causing undefined behavior if other.uniqueTokens is smaller than this.uniqueTokens.
https://en.cppreference.com/w/cpp/algorithm/mismatch