summaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/internal
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-08-14 11:33:13 (GMT)
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-08-14 11:33:13 (GMT)
commitda76d01b984fcfd02cf7b368b6081c988937f336 (patch)
tree4b739ecda8029046a5f2a1019bc0a439d4972596 /googlemock/include/gmock/internal
parent90a443f9c2437ca8a682a1ac625eba64e1d74a8a (diff)
downloadgoogletest-da76d01b984fcfd02cf7b368b6081c988937f336.zip
googletest-da76d01b984fcfd02cf7b368b6081c988937f336.tar.gz
googletest-da76d01b984fcfd02cf7b368b6081c988937f336.tar.bz2
remove a custom implementation of std::is_reference
Diffstat (limited to 'googlemock/include/gmock/internal')
-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 ee00479..b7d2cf2 100644
--- a/googlemock/include/gmock/internal/gmock-internal-utils.h
+++ b/googlemock/include/gmock/internal/gmock-internal-utils.h
@@ -355,10 +355,6 @@ GTEST_API_ WithoutMatchers GetWithoutMatchers();
// Type traits.
-// is_reference<T>::value is non-zero if T is a reference type.
-template <typename T> struct is_reference : public false_type {};
-template <typename T> struct is_reference<T&> : public true_type {};
-
// type_equals<T1, T2>::value is non-zero if T1 and T2 are the same type.
template <typename T1, typename T2> struct type_equals : public false_type {};
template <typename T> struct type_equals<T, T> : public true_type {};