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
cdc0aae1
Commit
cdc0aae1
authored
May 09, 2010
by
chandlerc
Browse files
Silence a Clang warning about an unused variable.
parent
c476707e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/gtest/gtest.h
include/gtest/gtest.h
+1
-1
No files found.
include/gtest/gtest.h
View file @
cdc0aae1
...
@@ -1969,7 +1969,7 @@ struct StaticAssertTypeEqHelper<T, T> {};
...
@@ -1969,7 +1969,7 @@ struct StaticAssertTypeEqHelper<T, T> {};
// to cause a compiler error.
// to cause a compiler error.
template
<
typename
T1
,
typename
T2
>
template
<
typename
T1
,
typename
T2
>
bool
StaticAssertTypeEq
()
{
bool
StaticAssertTypeEq
()
{
internal
::
StaticAssertTypeEqHelper
<
T1
,
T2
>
();
(
void
)
internal
::
StaticAssertTypeEqHelper
<
T1
,
T2
>
();
return
true
;
return
true
;
}
}
...
...
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