diff options
author | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-11-22 14:54:41 +0100 |
---|---|---|
committer | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-11-22 17:25:34 +0100 |
commit | e0c80b0a6e5162578399e0539bd7de171e9843e4 (patch) | |
tree | d315d5f3252d1e34daf3d56d78020c5e760ccab5 | |
parent | f9665846e405664bec650d77f9dd236c61a293b0 (diff) | |
download | googletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.tar.gz googletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.tar.bz2 googletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.zip |
consistency fix for SafeMatcherCastImpl member functions
-rw-r--r-- | googlemock/include/gmock/gmock-matchers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index b8ec24dd..1078b8d2 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -258,7 +258,7 @@ class SafeMatcherCastImpl { // monomorphic matchers are handled by the next one. template <typename M> static inline Matcher<T> Cast(const M& polymorphic_matcher_or_value) { - return internal::MatcherCastImpl<T, M>::Cast(polymorphic_matcher_or_value); + return MatcherCast<T>(polymorphic_matcher_or_value); } // This overload handles monomorphic matchers. |