summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest
diff options
context:
space:
mode:
authorHosein Ghahremanzadeh <hgsilverman@gmail.com>2019-09-12 14:36:44 (GMT)
committerShaindel Schwartz <shaindel@google.com>2019-09-12 16:10:41 (GMT)
commitac24edd6e06114818b1a29c99bb81153514f7fb2 (patch)
treee2340b84ae36b4d498eeba21e3591fdadb494569 /googletest/include/gtest
parent274afe50cf57630ef9d34e702cf77f1854358581 (diff)
downloadgoogletest-ac24edd6e06114818b1a29c99bb81153514f7fb2.zip
googletest-ac24edd6e06114818b1a29c99bb81153514f7fb2.tar.gz
googletest-ac24edd6e06114818b1a29c99bb81153514f7fb2.tar.bz2
Googletest export
Merge 4c9ef099b29d2c840c04643cd9662fd7be712f7b into 565f1b848215b77c3732bca345fe76a0431d8b34 Closes #2403 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2403 from IYP-Programer-Yeah:remove-compile-assert-type-equal 4c9ef099b29d2c840c04643cd9662fd7be712f7b PiperOrigin-RevId: 268681883
Diffstat (limited to 'googletest/include/gtest')
-rw-r--r--googletest/include/gtest/internal/gtest-internal.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h
index 3a98ce4..62af669 100644
--- a/googletest/include/gtest/internal/gtest-internal.h
+++ b/googletest/include/gtest/internal/gtest-internal.h
@@ -847,15 +847,6 @@ class GTEST_API_ Random {
GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
};
-// Defining a variable of type CompileAssertTypesEqual<T1, T2> will cause a
-// compiler error if T1 and T2 are different types.
-template <typename T1, typename T2>
-struct CompileAssertTypesEqual;
-
-template <typename T>
-struct CompileAssertTypesEqual<T, T> {
-};
-
// Turns const U&, U&, const U, and U all into U.
#define GTEST_REMOVE_REFERENCE_AND_CONST_(T) \
typename std::remove_const<typename std::remove_reference<T>::type>::type