diff options
author | Abseil Team <absl-team@google.com> | 2021-03-11 06:06:15 (GMT) |
---|---|---|
committer | Andy Soffer <asoffer@google.com> | 2021-03-16 13:51:10 (GMT) |
commit | 3bd41ab23f4c77b26892a5829f35df4e4edc2093 (patch) | |
tree | 1728ea68047b79365f696500016f41f16f3b2748 /googletest/include/gtest/internal/gtest-internal.h | |
parent | d0dbf0f6c8ae790a8002b0ea8dc2dfb6addf0889 (diff) | |
download | googletest-3bd41ab23f4c77b26892a5829f35df4e4edc2093.zip googletest-3bd41ab23f4c77b26892a5829f35df4e4edc2093.tar.gz googletest-3bd41ab23f4c77b26892a5829f35df4e4edc2093.tar.bz2 |
Internal change
PiperOrigin-RevId: 362216935
Diffstat (limited to 'googletest/include/gtest/internal/gtest-internal.h')
-rw-r--r-- | googletest/include/gtest/internal/gtest-internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index 632ef2b..ff557d5 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -895,16 +895,16 @@ template <typename T> class HasDebugStringAndShortDebugString { private: template <typename C> - static constexpr auto CheckDebugString(C*) -> typename std::is_same< + static auto CheckDebugString(C*) -> typename std::is_same< std::string, decltype(std::declval<const C>().DebugString())>::type; template <typename> - static constexpr std::false_type CheckDebugString(...); + static std::false_type CheckDebugString(...); template <typename C> - static constexpr auto CheckShortDebugString(C*) -> typename std::is_same< + static auto CheckShortDebugString(C*) -> typename std::is_same< std::string, decltype(std::declval<const C>().ShortDebugString())>::type; template <typename> - static constexpr std::false_type CheckShortDebugString(...); + static std::false_type CheckShortDebugString(...); using HasDebugStringType = decltype(CheckDebugString<T>(nullptr)); using HasShortDebugStringType = decltype(CheckShortDebugString<T>(nullptr)); |