mirror of
https://github.com/google/googletest.git
synced 2025-04-06 22:15:01 +00:00
Internal Code Change
PiperOrigin-RevId: 515855852 Change-Id: I8016eefd45c36089e189bbd1ebbe9fdabe68255b
This commit is contained in:
parent
038e392ebd
commit
391ce627de
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue