Merge 4ae270979823394bdba49f67792fbecbc7366daf into 3ff51c3e80f2c2eb105d43ecb9acab9a62e01600

This commit is contained in:
John Law 2026-07-28 18:59:50 +02:00 committed by GitHub
commit 00100ba916
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3732,7 +3732,7 @@ class [[nodiscard]] ElementsAreMatcherImpl
// the end of either the elements or the matchers, or until we find a
// mismatch.
for (; it != stl_container.end() && exam_pos != count(); ++it, ++exam_pos) {
bool match; // Does the current element match the current matcher?
bool match = false; // Does the current element match the current matcher?
if (listener_interested) {
StringMatchResultListener s;
match = matchers_[exam_pos].MatchAndExplain(*it, &s);