Merge pull request #1374 from davidben/tuple-msvc
Fix testing::Combine on MSVC 2017.
This commit is contained in:
commit
ba6ecedede
|
@ -827,7 +827,7 @@ using ::std::tuple_size;
|
||||||
// Determines whether to support Combine().
|
// Determines whether to support Combine().
|
||||||
// The implementation doesn't work on Sun Studio since it doesn't
|
// The implementation doesn't work on Sun Studio since it doesn't
|
||||||
// understand templated conversion operators.
|
// understand templated conversion operators.
|
||||||
#if GTEST_HAS_TR1_TUPLE && !defined(__SUNPRO_CC)
|
#if (GTEST_HAS_TR1_TUPLE || GTEST_HAS_STD_TUPLE_) && !defined(__SUNPRO_CC)
|
||||||
# define GTEST_HAS_COMBINE 1
|
# define GTEST_HAS_COMBINE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user