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));