diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index ee0527aa..0fe05e23 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -942,7 +942,6 @@ struct IsAProtocolMessage // IsContainerTest(typename C::const_iterator*) and // IsContainerTest(...) doesn't work with Visual Age C++ and Sun C++. typedef int IsContainer; -#if GTEST_LANG_CXX11 template ().begin()), class = decltype(::std::declval().end()), @@ -952,14 +951,6 @@ template -IsContainer IsContainerTest(int /* dummy */, - typename C::iterator* /* it */ = NULL, - typename C::const_iterator* /* const_it */ = NULL) { - return 0; -} -#endif // GTEST_LANG_CXX11 typedef char IsNotContainer; template @@ -1014,12 +1005,8 @@ struct IsRecursiveContainerImpl : public false_type {}; template struct IsRecursiveContainerImpl { - #if GTEST_LANG_CXX11 typedef typename IteratorTraits::value_type value_type; -#else - typedef typename IteratorTraits::value_type value_type; -#endif typedef is_same type; };