summaryrefslogtreecommitdiffstats
path: root/googlemock/include/gmock/internal
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-08-19 18:20:11 (GMT)
committerGennadiy Civil <misterg@google.com>2019-08-19 18:20:11 (GMT)
commitd5e9e0c38f85363e90b0a3e95a9484fe896d38e5 (patch)
tree0670adc30cfc85a02e061e2391391d6855fcf12f /googlemock/include/gmock/internal
parent30e58a89a42b8bf98619ac16da2c515d042ca8ff (diff)
parentda76d01b984fcfd02cf7b368b6081c988937f336 (diff)
downloadgoogletest-d5e9e0c38f85363e90b0a3e95a9484fe896d38e5.zip
googletest-d5e9e0c38f85363e90b0a3e95a9484fe896d38e5.tar.gz
googletest-d5e9e0c38f85363e90b0a3e95a9484fe896d38e5.tar.bz2
Merge pull request #2397 from kuzkry:custom-type-traits-is_reference
PiperOrigin-RevId: 264193098
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 8f6c08b..05d37d5 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.
-// 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 {};
-
// 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