From fab6d615a1a3923a71d1cd18d43b74431086d4e1 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 26 Jan 2024 12:05:06 +0800 Subject: [PATCH] fix `std::is_pod<>` --- include/pocketpy/namedict.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/namedict.h b/include/pocketpy/namedict.h index bbfcc95c..dbf71286 100644 --- a/include/pocketpy/namedict.h +++ b/include/pocketpy/namedict.h @@ -19,7 +19,7 @@ constexpr T default_invalid_value(){ template struct SmallNameDict{ using K = StrName; - static_assert(std::is_pod_v); + static_assert(is_pod::value); bool _is_small; uint16_t _size;