diff options
-rw-r--r-- | googletest/include/gtest/gtest-printers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h index 3fddf83..71f2aae 100644 --- a/googletest/include/gtest/gtest-printers.h +++ b/googletest/include/gtest/gtest-printers.h @@ -983,7 +983,11 @@ struct TuplePolicy { template <size_t I> static typename AddReference<const typename ::std::tr1::tuple_element< +#if defined(_MSC_VER) && _MSC_VER < 1900 I, Tuple>::type>::type +#else + static_cast<int>(I), Tuple>::type>::type +#endif get(const Tuple& tuple) { return ::std::tr1::get<I>(tuple); } |