diff options
Diffstat (limited to 'include/wabt/common.h')
-rw-r--r-- | include/wabt/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wabt/common.h b/include/wabt/common.h index 2ae1fa1f..54aeb912 100644 --- a/include/wabt/common.h +++ b/include/wabt/common.h @@ -166,7 +166,7 @@ Dst WABT_VECTORCALL Bitcast(Src&& value) { template <typename T> void ZeroMemory(T& v) { - WABT_STATIC_ASSERT(std::is_pod<T>::value); + WABT_STATIC_ASSERT(std::is_trivial<T>::value); memset(&v, 0, sizeof(v)); } |