Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
a946f7db
Unverified
Commit
a946f7db
authored
Aug 18, 2018
by
Gennadiy Civil
Committed by
GitHub
Aug 18, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into fix_death_test_child_mingw_wer_issue1116
parents
cb69e686
d1c1aac7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
internal_utils.cmake
googletest/cmake/internal_utils.cmake
+5
-0
gtest-printers.h
googletest/include/gtest/gtest-printers.h
+5
-4
No files found.
googletest/cmake/internal_utils.cmake
View file @
a946f7db
...
...
@@ -38,6 +38,11 @@ macro(fix_default_compiler_settings_)
# We prefer more strict warning checking for building Google Test.
# Replaces /W3 with /W4 in defaults.
string
(
REPLACE
"/W3"
"/W4"
${
flag_var
}
"
${${
flag_var
}}
"
)
# Prevent D9025 warning for targets that have exception handling
# turned off (/EHs-c- flag). Where required, exceptions are explicitly
# re-enabled using the cxx_exception_flags variable.
string
(
REPLACE
"/EHsc"
""
${
flag_var
}
"
${${
flag_var
}}
"
)
endforeach
()
endif
()
endmacro
()
...
...
googletest/include/gtest/gtest-printers.h
View file @
a946f7db
...
...
@@ -978,12 +978,13 @@ struct TuplePolicy {
static
const
size_t
tuple_size
=
::
std
::
tr1
::
tuple_size
<
Tuple
>::
value
;
template
<
size_t
I
>
struct
tuple_element
:
::
std
::
tr1
::
tuple_element
<
I
,
Tuple
>
{};
struct
tuple_element
:
::
std
::
tr1
::
tuple_element
<
static_cast
<
int
>
(
I
),
Tuple
>
{
};
template
<
size_t
I
>
static
typename
AddReference
<
const
typename
::
std
::
tr1
::
tuple_element
<
I
,
Tuple
>::
type
>::
type
get
(
const
Tuple
&
tuple
)
{
static
typename
AddReference
<
const
typename
::
std
::
tr1
::
tuple_element
<
static_cast
<
int
>
(
I
),
Tuple
>::
type
>::
type
get
(
const
Tuple
&
tuple
)
{
return
::
std
::
tr1
::
get
<
I
>
(
tuple
);
}
};
...
...
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