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
e1d41f3f
Commit
e1d41f3f
authored
Sep 12, 2018
by
David Schuldenfrei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gennadiy's comment. Reverts to previous code if not using Visual Studio 2013
parent
a2a15f2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
gtest-printers.h
googletest/include/gtest/gtest-printers.h
+4
-0
No files found.
googletest/include/gtest/gtest-printers.h
View file @
e1d41f3f
...
@@ -983,7 +983,11 @@ struct TuplePolicy {
...
@@ -983,7 +983,11 @@ struct TuplePolicy {
template
<
size_t
I
>
template
<
size_t
I
>
static
typename
AddReference
<
const
typename
::
std
::
tr1
::
tuple_element
<
static
typename
AddReference
<
const
typename
::
std
::
tr1
::
tuple_element
<
#if defined(_MSC_VER) && _MSC_VER < 1900
I
,
Tuple
>::
type
>::
type
I
,
Tuple
>::
type
>::
type
#else
static_cast
<
int
>
(
I
),
Tuple
>::
type
>::
type
#endif
get
(
const
Tuple
&
tuple
)
{
get
(
const
Tuple
&
tuple
)
{
return
::
std
::
tr1
::
get
<
I
>
(
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