From e0c80b0a6e5162578399e0539bd7de171e9843e4 Mon Sep 17 00:00:00 2001 From: Krystian Kuzniarek Date: Fri, 22 Nov 2019 14:54:41 +0100 Subject: [PATCH] consistency fix for SafeMatcherCastImpl member functions --- googlemock/include/gmock/gmock-matchers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 static inline Matcher Cast(const M& polymorphic_matcher_or_value) { - return internal::MatcherCastImpl::Cast(polymorphic_matcher_or_value); + return MatcherCast(polymorphic_matcher_or_value); } // This overload handles monomorphic matchers.