From 6956b10b2d98cd1a75e1f038e3c2b6c766e3ee72 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 24 Apr 2021 11:04:34 -0700 Subject: [PATCH] Fix gcc 4.8 build --- test/gtest/gtest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }