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-07 22:36:31 (GMT) |
commit | d51cce4fc7a5adc97ee4db9dd34163bf18df6cc8 (patch) | |
tree | 001e8f463e576d9f8b633d4f9d1a375eabda5dda /googletest | |
parent | f64f7bd36735e14f520d8813af5b7cb780b7e164 (diff) | |
download | googletest-d51cce4fc7a5adc97ee4db9dd34163bf18df6cc8.zip googletest-d51cce4fc7a5adc97ee4db9dd34163bf18df6cc8.tar.gz googletest-d51cce4fc7a5adc97ee4db9dd34163bf18df6cc8.tar.bz2 |
remove a dead metafunction
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/include/gtest/internal/gtest-type-util.h | 12 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-type-util.h.pump | 12 |
2 files changed, 0 insertions, 24 deletions
diff --git a/googletest/include/gtest/internal/gtest-type-util.h b/googletest/include/gtest/internal/gtest-type-util.h index 5f9a056..3d7542d 100644 --- a/googletest/include/gtest/internal/gtest-type-util.h +++ b/googletest/include/gtest/internal/gtest-type-util.h @@ -105,18 +105,6 @@ std::string GetTypeName() { #if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P -// AssertyTypeEq<T1, T2>::type is defined if T1 and T2 are the same -// type. This can be used as a compile-time assertion to ensure that -// two types are equal. - -template <typename T1, typename T2> -struct AssertTypeEq; - -template <typename T> -struct AssertTypeEq<T, T> { - typedef bool type; -}; - // A unique type used as the default value for the arguments of class // template Types. This allows us to simulate variadic templates // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't diff --git a/googletest/include/gtest/internal/gtest-type-util.h.pump b/googletest/include/gtest/internal/gtest-type-util.h.pump index 3a3896b..5e31b7b 100644 --- a/googletest/include/gtest/internal/gtest-type-util.h.pump +++ b/googletest/include/gtest/internal/gtest-type-util.h.pump @@ -104,18 +104,6 @@ std::string GetTypeName() { #if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P -// AssertyTypeEq<T1, T2>::type is defined if T1 and T2 are the same -// type. This can be used as a compile-time assertion to ensure that -// two types are equal. - -template <typename T1, typename T2> -struct AssertTypeEq; - -template <typename T> -struct AssertTypeEq<T, T> { - typedef bool type; -}; - // A unique type used as the default value for the arguments of class // template Types. This allows us to simulate variadic templates // (e.g. Types<int>, Type<int, double>, and etc), which C++ doesn't |