diff options
author | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-08-07 22:36:31 (GMT) |
---|---|---|
committer | Krystian Kuzniarek <krystian.kuzniarek@gmail.com> | 2019-08-16 05:04:49 (GMT) |
commit | 44de8697835d3ff94bfb10fbf71060b93f23aca2 (patch) | |
tree | 3de5ba6004601df5706d10035b68824315697f90 /googlemock/include/gmock/internal | |
parent | 6aba4a5c45c03c2367c3390708c049fa8bc14487 (diff) | |
download | googletest-44de8697835d3ff94bfb10fbf71060b93f23aca2.zip googletest-44de8697835d3ff94bfb10fbf71060b93f23aca2.tar.gz googletest-44de8697835d3ff94bfb10fbf71060b93f23aca2.tar.bz2 |
remove a dead metafunctionrefs/pull/2382/head
Diffstat (limited to 'googlemock/include/gmock/internal')
-rw-r--r-- | googlemock/include/gmock/internal/gmock-internal-utils.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h index ee00479..8424908 100644 --- a/googlemock/include/gmock/internal/gmock-internal-utils.h +++ b/googlemock/include/gmock/internal/gmock-internal-utils.h @@ -367,19 +367,6 @@ template <typename T> struct type_equals<T, T> : public true_type {}; template <typename T> struct remove_reference { typedef T type; }; // NOLINT template <typename T> struct remove_reference<T&> { typedef T type; }; // NOLINT -// DecayArray<T>::type turns an array type U[N] to const U* and preserves -// other types. Useful for saving a copy of a function argument. -template <typename T> struct DecayArray { typedef T type; }; // NOLINT -template <typename T, size_t N> struct DecayArray<T[N]> { - typedef const T* type; -}; -// Sometimes people use arrays whose size is not available at the use site -// (e.g. extern const char kNamePrefix[]). This specialization covers that -// case. -template <typename T> struct DecayArray<T[]> { - typedef const T* type; -}; - // Disable MSVC warnings for infinite recursion, since in this case the // the recursion is unreachable. #ifdef _MSC_VER |