summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-08-13 21:35:11 (GMT)
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-08-13 22:09:53 (GMT)
commit11471da7938bb414a5739e292ccc71f18966068f (patch)
treef07b05fa7acac6b9de78d5b8af9c22d356ee05d2 /googletest/include/gtest/internal
parent90a443f9c2437ca8a682a1ac625eba64e1d74a8a (diff)
downloadgoogletest-11471da7938bb414a5739e292ccc71f18966068f.zip
googletest-11471da7938bb414a5739e292ccc71f18966068f.tar.gz
googletest-11471da7938bb414a5739e292ccc71f18966068f.tar.bz2
remove a custom implementation of std::enable_if
Diffstat (limited to 'googletest/include/gtest/internal')
-rw-r--r--googletest/include/gtest/internal/gtest-internal.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h
index 08531d8..8b05062 100644
--- a/googletest/include/gtest/internal/gtest-internal.h
+++ b/googletest/include/gtest/internal/gtest-internal.h
@@ -991,13 +991,6 @@ struct IsRecursiveContainerImpl<C, true> {
template <typename C>
struct IsRecursiveContainer : public IsRecursiveContainerImpl<C>::type {};
-// EnableIf<condition>::type is void when 'Cond' is true, and
-// undefined when 'Cond' is false. To use SFINAE to make a function
-// overload only apply when a particular expression is true, add
-// "typename EnableIf<expression>::type* = 0" as the last parameter.
-template<bool> struct EnableIf;
-template<> struct EnableIf<true> { typedef void type; }; // NOLINT
-
// Utilities for native arrays.
// ArrayEq() compares two k-dimensional native arrays using the