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
ab84d142
Commit
ab84d142
authored
Apr 11, 2018
by
Gennadiy Civil
Browse files
Upstream cl/192179348
parent
106e731e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
googlemock/include/gmock/gmock-matchers.h
googlemock/include/gmock/gmock-matchers.h
+4
-2
No files found.
googlemock/include/gmock/gmock-matchers.h
View file @
ab84d142
...
@@ -4140,7 +4140,8 @@ class VariantMatcher {
...
@@ -4140,7 +4140,8 @@ class VariantMatcher {
private:
private:
static
std
::
string
GetTypeName
()
{
static
std
::
string
GetTypeName
()
{
#if GTEST_HAS_RTTI
#if GTEST_HAS_RTTI
return
internal
::
GetTypeName
<
T
>
();
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_
(
return
internal
::
GetTypeName
<
T
>
());
#endif
#endif
return
"the element type"
;
return
"the element type"
;
}
}
...
@@ -4200,7 +4201,8 @@ class AnyCastMatcher {
...
@@ -4200,7 +4201,8 @@ class AnyCastMatcher {
private:
private:
static
std
::
string
GetTypeName
()
{
static
std
::
string
GetTypeName
()
{
#if GTEST_HAS_RTTI
#if GTEST_HAS_RTTI
return
internal
::
GetTypeName
<
T
>
();
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_
(
return
internal
::
GetTypeName
<
T
>
());
#endif
#endif
return
"the element type"
;
return
"the element type"
;
}
}
...
...
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