summaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/internal/gmock-internal-utils.h
diff options
context:
space:
mode:
authorkuzkry <krystian.kuzniarek@gmail.com>2019-08-29 18:38:09 (GMT)
committerGennadiy Rozental <rogeeff@google.com>2019-09-06 12:00:03 (GMT)
commitab8f346b076f76f7770f33437fb5823fa444cb80 (patch)
tree35ce84e546aab767ce0a650e39c0600c16629e0f /googlemock/include/gmock/internal/gmock-internal-utils.h
parent565f1b848215b77c3732bca345fe76a0431d8b34 (diff)
downloadgoogletest-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/internal/gmock-internal-utils.h')
-rw-r--r--googlemock/include/gmock/internal/gmock-internal-utils.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h
index 1770d5e..53b6d97 100644
--- a/googlemock/include/gmock/internal/gmock-internal-utils.h
+++ b/googlemock/include/gmock/internal/gmock-internal-utils.h
@@ -336,10 +336,6 @@ GTEST_API_ WithoutMatchers GetWithoutMatchers();
// Type traits.
-// remove_reference<T>::type removes the reference from type T, if any.
-template <typename T> struct remove_reference { typedef T type; }; // NOLINT
-template <typename T> struct remove_reference<T&> { typedef T type; }; // NOLINT
-
// Disable MSVC warnings for infinite recursion, since in this case the
// the recursion is unreachable.
#ifdef _MSC_VER