From 3f8f8a10724352ef48b2b747af2220c68a139d9b Mon Sep 17 00:00:00 2001
From: CGQAQ <m.jason.liu@outlook.com>
Date: Thu, 7 Sep 2023 10:47:06 +0800
Subject: [PATCH] fix typo

---
 src/support.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/support.h b/src/support.h
index 388b223b..888878d4 100644
--- a/src/support.h
+++ b/src/support.h
@@ -78,7 +78,7 @@ struct make_pod {
   template <class V>
   union helper {
     static_assert(std::is_trivially_copyable<V>::value, "type V must be trivially copyable");
-    static_assert(std::is_standard_layout<P>::value && std::is_trivially_copyable<P>::value, "type P must a pod type");
+    static_assert(std::is_standard_layout<P>::value && std::is_trivial<P>::value, "type P must a pod type");
     static_assert(sizeof(V) == sizeof(P), "type P must be same size as type V");
     static_assert(alignof(V) == alignof(P),
                   "alignment of type P must be compatible with that of type V");