summaryrefslogtreecommitdiffstats
path: root/googletest
diff options
context:
space:
mode:
authorDavid Schuldenfrei <david.schuldenfrei@gmail.com>2018-09-06 14:06:11 (GMT)
committerDavid Schuldenfrei <david.schuldenfrei@gmail.com>2018-09-08 18:32:25 (GMT)
commita2a15f2cefcfceaa6cee5b674a9b447359268ee9 (patch)
tree4a08960671e45638a4c74f496562fb21e8bc7856 /googletest
parent0614a539f011adfeca365f8c3f6447671bba0e04 (diff)
downloadgoogletest-a2a15f2cefcfceaa6cee5b674a9b447359268ee9.zip
googletest-a2a15f2cefcfceaa6cee5b674a9b447359268ee9.tar.gz
googletest-a2a15f2cefcfceaa6cee5b674a9b447359268ee9.tar.bz2
Fix Compile error, and warning in Visaul Studio 2013
Diffstat (limited to 'googletest')
-rw-r--r--googletest/include/gtest/gtest-printers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h
index 51865f8..3fddf83 100644
--- a/googletest/include/gtest/gtest-printers.h
+++ b/googletest/include/gtest/gtest-printers.h
@@ -983,7 +983,7 @@ struct TuplePolicy {
template <size_t I>
static typename AddReference<const typename ::std::tr1::tuple_element<
- static_cast<int>(I), Tuple>::type>::type
+ I, Tuple>::type>::type
get(const Tuple& tuple) {
return ::std::tr1::get<I>(tuple);
}