Internal Code Change
PiperOrigin-RevId: 515855852 Change-Id: I8016eefd45c36089e189bbd1ebbe9fdabe68255b
This commit is contained in:
parent
038e392ebd
commit
391ce627de
@ -1474,6 +1474,7 @@ class SomeOfArrayMatcher {
|
|||||||
operator Matcher<U>() const { // NOLINT
|
operator Matcher<U>() const { // NOLINT
|
||||||
using RawU = typename std::decay<U>::type;
|
using RawU = typename std::decay<U>::type;
|
||||||
std::vector<Matcher<RawU>> matchers;
|
std::vector<Matcher<RawU>> matchers;
|
||||||
|
matchers.reserve(matchers_.size());
|
||||||
for (const auto& matcher : matchers_) {
|
for (const auto& matcher : matchers_) {
|
||||||
matchers.push_back(MatcherCast<RawU>(matcher));
|
matchers.push_back(MatcherCast<RawU>(matcher));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user