diff options
author | dinord <dinor@google.com> | 2021-09-23 23:31:42 (GMT) |
---|---|---|
committer | dinord <dinor@google.com> | 2021-09-23 23:31:42 (GMT) |
commit | e4717df71a4f45bf9f0ac88c6cd9846a0bc248dd (patch) | |
tree | b9f4980d14ad76e74a000d417cc719273b0bca7d /googletest/src | |
parent | 09074c1571a348eb2ed7e2cf8bdb8ed1dd56915a (diff) | |
parent | 9614d8c1d69dee9de2e0771a0da2b69a34964e33 (diff) | |
download | googletest-e4717df71a4f45bf9f0ac88c6cd9846a0bc248dd.zip googletest-e4717df71a4f45bf9f0ac88c6cd9846a0bc248dd.tar.gz googletest-e4717df71a4f45bf9f0ac88c6cd9846a0bc248dd.tar.bz2 |
Merge pull request #3195 from Inujel:fix-3194
PiperOrigin-RevId: 398271948
Diffstat (limited to 'googletest/src')
-rw-r--r-- | googletest/src/gtest-internal-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest-internal-inl.h b/googletest/src/gtest-internal-inl.h index 075b84c..0b25d2f 100644 --- a/googletest/src/gtest-internal-inl.h +++ b/googletest/src/gtest-internal-inl.h @@ -273,7 +273,7 @@ inline int CountIf(const Container& c, Predicate predicate) { // Implemented as an explicit loop since std::count_if() in libCstd on // Solaris has a non-standard signature. int count = 0; - for (typename Container::const_iterator it = c.begin(); it != c.end(); ++it) { + for (auto it = c.begin(); it != c.end(); ++it) { if (predicate(*it)) ++count; } |