From d173c041886fe6e978f2adcf58fce15e935459be Mon Sep 17 00:00:00 2001 From: Michael Pollind Date: Tue, 7 Mar 2023 00:21:21 -0800 Subject: [PATCH] chore: is_pod is deprecated replace with is_trivial (#469) Signed-off-by: Michael Pollind --- include/nbl/core/containers/CMemoryPool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nbl/core/containers/CMemoryPool.h b/include/nbl/core/containers/CMemoryPool.h index 979c0b84cd..a72a199456 100644 --- a/include/nbl/core/containers/CMemoryPool.h +++ b/include/nbl/core/containers/CMemoryPool.h @@ -47,7 +47,7 @@ class CMemoryPool : public Uncopyable using traits_t = std::allocator_traits>; DataAllocator data_alctr; - if constexpr (sizeof...(FuncArgs)!=0u || !std::is_pod_v) + if constexpr (sizeof...(FuncArgs)!=0u || !std::is_trivial) { for (uint32_t i = 0u; i < n; ++i) traits_t::construct(data_alctr, reinterpret_cast(ptr) + i, std::forward(args)...);