Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
e0c80b0a
Commit
e0c80b0a
authored
Nov 22, 2019
by
Krystian Kuzniarek
Browse files
consistency fix for SafeMatcherCastImpl member functions
parent
f9665846
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googlemock/include/gmock/gmock-matchers.h
googlemock/include/gmock/gmock-matchers.h
+1
-1
No files found.
googlemock/include/gmock/gmock-matchers.h
View file @
e0c80b0a
...
@@ -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
::
MatcherCast
Impl
<
T
,
M
>::
Cast
(
polymorphic_matcher_or_value
);
return
MatcherCast
<
T
>
(
polymorphic_matcher_or_value
);
}
}
// This overload handles monomorphic matchers.
// This overload handles monomorphic matchers.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment