diff --git a/test/gtest/gtest.h b/test/gtest/gtest.h index edbed0dd..a3c84533 100644 --- a/test/gtest/gtest.h +++ b/test/gtest/gtest.h @@ -6509,7 +6509,7 @@ class MatcherBase : private MatcherDescriberInterface { template static constexpr bool IsInlined() { return sizeof(M) <= sizeof(Buffer) && alignof(M) <= alignof(Buffer) && - std::is_trivially_copy_constructible::value && + std::is_pod::value && std::is_trivially_destructible::value; }