From 3bd41ab23f4c77b26892a5829f35df4e4edc2093 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Thu, 11 Mar 2021 01:06:15 -0500 Subject: [PATCH] Internal change PiperOrigin-RevId: 362216935 --- googletest/include/gtest/internal/gtest-internal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index 632ef2b6..ff557d5a 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -895,16 +895,16 @@ template class HasDebugStringAndShortDebugString { private: template - static constexpr auto CheckDebugString(C*) -> typename std::is_same< + static auto CheckDebugString(C*) -> typename std::is_same< std::string, decltype(std::declval().DebugString())>::type; template - static constexpr std::false_type CheckDebugString(...); + static std::false_type CheckDebugString(...); template - static constexpr auto CheckShortDebugString(C*) -> typename std::is_same< + static auto CheckShortDebugString(C*) -> typename std::is_same< std::string, decltype(std::declval().ShortDebugString())>::type; template - static constexpr std::false_type CheckShortDebugString(...); + static std::false_type CheckShortDebugString(...); using HasDebugStringType = decltype(CheckDebugString(nullptr)); using HasShortDebugStringType = decltype(CheckShortDebugString(nullptr));