From 7c2bd3af981e9f257a0b61ce664953008c105dad Mon Sep 17 00:00:00 2001 From: Krystian Kuzniarek Date: Sat, 7 Sep 2019 06:08:28 +0200 Subject: square away the stuff that hasn't been merged in a manual review This fixes up ab8f346b (a manual merge) that has abandoned some things from PR #2395. --- googlemock/include/gmock/gmock-matchers.h | 4 ++-- googlemock/include/gmock/internal/gmock-internal-utils.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'googlemock/include') diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index bf9eb205..9bff5a72 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -1607,8 +1607,8 @@ class PointeeMatcher { template class Impl : public MatcherInterface { public: - typedef typename PointeeOf::type>::type>::type Pointee; + typedef typename PointeeOf::type + Pointee; explicit Impl(const InnerMatcher& matcher) : matcher_(MatcherCast(matcher)) {} diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h index fdc049c5..d012e710 100644 --- a/googlemock/include/gmock/internal/gmock-internal-utils.h +++ b/googlemock/include/gmock/internal/gmock-internal-utils.h @@ -334,8 +334,6 @@ class WithoutMatchers { // Internal use only: access the singleton instance of WithoutMatchers. GTEST_API_ WithoutMatchers GetWithoutMatchers(); -// Type traits. - // Disable MSVC warnings for infinite recursion, since in this case the // the recursion is unreachable. #ifdef _MSC_VER -- cgit v1.2.3