mirror of
https://git.mirrors.martin98.com/https://github.com/google/googletest.git
synced 2025-08-05 00:10:44 +08:00
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().
|
||||
// The implementation doesn't work on Sun Studio since it doesn't
|
||||
// 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
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user