From 1edc287c05abbf47d5f05e07bda8bad45a140ad3 Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Tue, 8 Jul 2025 10:57:27 +0000 Subject: [PATCH] Fix std::is_trivial deprecation warnings --- include/boost/beast/http/span_body.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/beast/http/span_body.hpp b/include/boost/beast/http/span_body.hpp index 98cda982..61ba98d6 100644 --- a/include/boost/beast/http/span_body.hpp +++ b/include/boost/beast/http/span_body.hpp @@ -39,7 +39,8 @@ struct span_body { private: static_assert( - std::is_trivial::value && + std::is_trivially_default_constructible::value && + std::is_trivially_copyable::value && std::is_standard_layout::value, "POD requirements not met");