Przeglądaj źródła

fix `std::is_pod<>`

blueloveTH 2 lat temu
rodzic
commit
fab6d615a1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      include/pocketpy/namedict.h

+ 1 - 1
include/pocketpy/namedict.h

@@ -19,7 +19,7 @@ constexpr T default_invalid_value(){
 template<typename V>
 struct SmallNameDict{
     using K = StrName;
-    static_assert(std::is_pod_v<V>);
+    static_assert(is_pod<V>::value);
 
     bool _is_small;
     uint16_t _size;