From ab8f346b076f76f7770f33437fb5823fa444cb80 Mon Sep 17 00:00:00 2001 From: kuzkry Date: Thu, 29 Aug 2019 14:38:09 -0400 Subject: Googletest export Merge 7f4f58da20e1066a888d3e4bcbef541db798a605 into 90a443f9c2437ca8a682a1ac625eba64e1d74a8a Closes #2395 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2395 from kuzkry:custom-type-traits-remove_reference 7f4f58da20e1066a888d3e4bcbef541db798a605 PiperOrigin-RevId: 266189044 --- googlemock/include/gmock/gmock-matchers.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'googlemock/include/gmock/gmock-matchers.h') diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index fa50903b..70092157 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -1607,9 +1607,8 @@ class PointeeMatcher { template class Impl : public MatcherInterface { public: - typedef - typename PointeeOf::type>::type Pointee; + typedef typename PointeeOf::type>::type>::type Pointee; explicit Impl(const InnerMatcher& matcher) : matcher_(MatcherCast(matcher)) {} -- cgit v1.2.3