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

Please sign in to comment.