Commit e0c80b0a authored by Krystian Kuzniarek's avatar Krystian Kuzniarek
Browse files

consistency fix for SafeMatcherCastImpl member functions

parent f9665846
...@@ -258,7 +258,7 @@ class SafeMatcherCastImpl { ...@@ -258,7 +258,7 @@ class SafeMatcherCastImpl {
// monomorphic matchers are handled by the next one. // monomorphic matchers are handled by the next one.
template <typename M> template <typename M>
static inline Matcher<T> Cast(const M& polymorphic_matcher_or_value) { 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. // This overload handles monomorphic matchers.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment