consistency fix for SafeMatcherCastImpl member functions
This commit is contained in:
parent
f9665846e4
commit
e0c80b0a6e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user