diff options
author | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-11-22 13:54:41 (GMT) |
---|---|---|
committer | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-11-22 16:25:34 (GMT) |
commit | e0c80b0a6e5162578399e0539bd7de171e9843e4 (patch) | |
tree | d315d5f3252d1e34daf3d56d78020c5e760ccab5 /googlemock/include | |
parent | f9665846e405664bec650d77f9dd236c61a293b0 (diff) | |
download | googletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.zip googletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.tar.gz googletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.tar.bz2 |
consistency fix for SafeMatcherCastImpl member functions
Diffstat (limited to 'googlemock/include')
-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 b8ec24d..1078b8d 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. |