diff options
Diffstat (limited to 'googletest/include')
-rw-r--r-- | googletest/include/gtest/gtest-printers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h index c67e30a..491bcc9 100644 --- a/googletest/include/gtest/gtest-printers.h +++ b/googletest/include/gtest/gtest-printers.h @@ -978,11 +978,11 @@ struct TuplePolicy { static const size_t tuple_size = ::std::tr1::tuple_size<Tuple>::value; template <size_t I> - struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; + struct tuple_element : ::std::tr1::tuple_element<static_cast<int>(I), Tuple> {}; template <size_t I> static typename AddReference< - const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get( + const typename ::std::tr1::tuple_element<static_cast<int>(I), Tuple>::type>::type get( const Tuple& tuple) { return ::std::tr1::get<I>(tuple); } |