mirror of
https://github.com/google/googletest.git
synced 2025-01-14 00:20:57 +08:00
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
|
||||
using RawU = typename std::decay<U>::type;
|
||||
std::vector<Matcher<RawU>> matchers;
|
||||
matchers.reserve(matchers_.size());
|
||||
for (const auto& matcher : matchers_) {
|
||||
matchers.push_back(MatcherCast<RawU>(matcher));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user