diff options
author | kuzkry <krystian.kuzniarek@gmail.com> | 2019-08-29 18:38:09 (GMT) |
---|---|---|
committer | Gennadiy Rozental <rogeeff@google.com> | 2019-09-06 12:00:03 (GMT) |
commit | ab8f346b076f76f7770f33437fb5823fa444cb80 (patch) | |
tree | 35ce84e546aab767ce0a650e39c0600c16629e0f /googlemock/include/gmock/gmock-matchers.h | |
parent | 565f1b848215b77c3732bca345fe76a0431d8b34 (diff) | |
download | googletest-ab8f346b076f76f7770f33437fb5823fa444cb80.zip googletest-ab8f346b076f76f7770f33437fb5823fa444cb80.tar.gz googletest-ab8f346b076f76f7770f33437fb5823fa444cb80.tar.bz2 |
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
Diffstat (limited to 'googlemock/include/gmock/gmock-matchers.h')
-rw-r--r-- | googlemock/include/gmock/gmock-matchers.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index fa50903..7009215 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -1607,9 +1607,8 @@ class PointeeMatcher { template <typename Pointer> class Impl : public MatcherInterface<Pointer> { public: - typedef - typename PointeeOf<typename std::remove_const<GTEST_REMOVE_REFERENCE_( - Pointer)>::type>::type Pointee; + typedef typename PointeeOf<typename std::remove_const< + typename std::remove_reference<Pointer>::type>::type>::type Pointee; explicit Impl(const InnerMatcher& matcher) : matcher_(MatcherCast<const Pointee&>(matcher)) {} |