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
18be0124
Unverified
Commit
18be0124
authored
Apr 03, 2018
by
Gennadiy Civil
Committed by
GitHub
Apr 03, 2018
Browse files
Merge branch 'master' into int3
parents
27507429
ac783bd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
19 deletions
+5
-19
googletest/include/gtest/internal/gtest-port.h
googletest/include/gtest/internal/gtest-port.h
+5
-19
No files found.
googletest/include/gtest/internal/gtest-port.h
View file @
18be0124
...
@@ -720,22 +720,6 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
...
@@ -720,22 +720,6 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
# if GTEST_USE_OWN_TR1_TUPLE
# if GTEST_USE_OWN_TR1_TUPLE
# include "gtest/internal/gtest-tuple.h" // IWYU pragma: export // NOLINT
# include "gtest/internal/gtest-tuple.h" // IWYU pragma: export // NOLINT
# elif GTEST_ENV_HAS_STD_TUPLE_
# include <tuple>
// C++11 puts its tuple into the ::std namespace rather than
// ::std::tr1. gtest expects tuple to live in ::std::tr1, so put it there.
// This causes undefined behavior, but supported compilers react in
// the way we intend.
namespace
std
{
namespace
tr1
{
using
::
std
::
get
;
using
::
std
::
make_tuple
;
using
::
std
::
tuple
;
using
::
std
::
tuple_element
;
using
::
std
::
tuple_size
;
}
}
# elif GTEST_OS_SYMBIAN
# elif GTEST_OS_SYMBIAN
// On Symbian, BOOST_HAS_TR1_TUPLE causes Boost's TR1 tuple library to
// On Symbian, BOOST_HAS_TR1_TUPLE causes Boost's TR1 tuple library to
...
@@ -770,10 +754,12 @@ using ::std::tuple_size;
...
@@ -770,10 +754,12 @@ using ::std::tuple_size;
# include <tr1/tuple> // NOLINT
# include <tr1/tuple> // NOLINT
# endif // !GTEST_HAS_RTTI && GTEST_GCC_VER_ < 40302
# endif // !GTEST_HAS_RTTI && GTEST_GCC_VER_ < 40302
# else
// VS 2010 now has tr1 support.
// If the compiler is not GCC 4.0+, we assume the user is using a
# elif _MSC_VER >= 1600
// spec-conforming TR1 implementation.
# include <tuple> // IWYU pragma: export // NOLINT
# include <tuple> // IWYU pragma: export // NOLINT
# else // GTEST_USE_OWN_TR1_TUPLE
# include <tr1/tuple> // IWYU pragma: export // NOLINT
# endif // GTEST_USE_OWN_TR1_TUPLE
# endif // GTEST_USE_OWN_TR1_TUPLE
#endif // GTEST_HAS_TR1_TUPLE
#endif // GTEST_HAS_TR1_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