aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-11-22 14:54:41 +0100
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-11-22 17:25:34 +0100
commite0c80b0a6e5162578399e0539bd7de171e9843e4 (patch)
treed315d5f3252d1e34daf3d56d78020c5e760ccab5 /googlemock
parentf9665846e405664bec650d77f9dd236c61a293b0 (diff)
downloadgoogletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.tar.gz
googletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.tar.bz2
googletest-e0c80b0a6e5162578399e0539bd7de171e9843e4.zip
consistency fix for SafeMatcherCastImpl member functions
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/include/gmock/gmock-matchers.h2
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.