Skip to content

Commit

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

Resolves: google#4148
Signed-off-by: Abhinandan Udupa <67597710+abhinandanudupa@users.noreply.github.com>
  • Loading branch information
abhinandanudupa committed Feb 10, 2023
1 parent b73f27f commit 187ebc9
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 187ebc9

Please sign in to comment.