From d99bb38927dc920e0e613f8c3f1d744aeddb2598 Mon Sep 17 00:00:00 2001 From: Abhinandan Udupa <67597710+abhinandanudupa@users.noreply.github.com> Date: Fri, 10 Feb 2023 06:26:23 +0000 Subject: [PATCH] Remove redundant/depreacted declaration Improves Compatibility with C++17. Resolves: #4148 --- googletest/include/gtest/internal/gtest-internal.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index e1eb2b5105..5dc98fd1e7 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -900,9 +900,6 @@ class HasDebugStringAndShortDebugString { HasDebugStringType::value && HasShortDebugStringType::value; }; -template -constexpr bool HasDebugStringAndShortDebugString::value; - // When the compiler sees expression IsContainerTest(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