Skip to content

Commit

Permalink
Remove redundant/depreacted declaration
Browse files Browse the repository at this point in the history
Improves Compatibility with C++17.

Resolves: google#4148
  • Loading branch information
abhinandanudupa authored Feb 10, 2023
1 parent b73f27f commit d99bb38
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions googletest/include/gtest/internal/gtest-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -900,9 +900,6 @@ class HasDebugStringAndShortDebugString {
HasDebugStringType::value && HasShortDebugStringType::value;
};

template <typename T>
constexpr bool HasDebugStringAndShortDebugString<T>::value;

// When the compiler sees expression IsContainerTest<C>(0), if C is an
// STL-style container class, the first overload of IsContainerTest
// will be viable (since both C::iterator* and C::const_iterator* are
Expand Down

0 comments on commit d99bb38

Please sign in to comment.