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
0186caf7
Commit
0186caf7
authored
Jan 13, 2021
by
dmauro
Committed by
Derek Mauro
Jan 13, 2021
Browse files
Googletest export
Fix build under GCC 5 PiperOrigin-RevId: 351607537
parent
6b2e7490
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/include/gtest/gtest-matchers.h
googletest/include/gtest/gtest-matchers.h
+1
-1
No files found.
googletest/include/gtest/gtest-matchers.h
View file @
0186caf7
...
@@ -418,7 +418,7 @@ class MatcherBase : private MatcherDescriberInterface {
...
@@ -418,7 +418,7 @@ class MatcherBase : private MatcherDescriberInterface {
std
::
is_trivially_destructible
<
M
>::
value
;
std
::
is_trivially_destructible
<
M
>::
value
;
}
}
template
<
typename
M
,
bool
=
IsInlined
<
M
>()
>
template
<
typename
M
,
bool
=
MatcherBase
::
IsInlined
<
M
>()
>
struct
ValuePolicy
{
struct
ValuePolicy
{
static
const
M
&
Get
(
const
MatcherBase
&
m
)
{
static
const
M
&
Get
(
const
MatcherBase
&
m
)
{
// When inlined along with Init, need to be explicit to avoid violating
// When inlined along with Init, need to be explicit to avoid violating
...
...
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