From 9cb494bcc3d6b9baab57158d833f59dccab693b8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 May 2020 14:10:08 +0200 Subject: Get rid of now deprecated std::is_pod usage --- libbuild2/test/script/regex.test.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libbuild2/test') diff --git a/libbuild2/test/script/regex.test.cxx b/libbuild2/test/script/regex.test.cxx index c46068b..5a93c53 100644 --- a/libbuild2/test/script/regex.test.cxx +++ b/libbuild2/test/script/regex.test.cxx @@ -2,7 +2,7 @@ // license : MIT; see accompanying LICENSE file #include -#include // is_pod, is_array +#include // is_* #include @@ -23,7 +23,9 @@ main () // Test line_char. // { - static_assert (is_pod::value && !is_array::value, + static_assert (is_trivial::value && + is_standard_layout::value && + !is_array::value, "line_char must be char-like"); // Zero-initialed line_char should be the null-char as required by -- cgit v1.1