We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d95b10 commit 133dd64Copy full SHA for 133dd64
include/nbl/core/containers/CMemoryPool.h
@@ -47,7 +47,7 @@ class CMemoryPool : public Uncopyable
47
48
using traits_t = std::allocator_traits<DataAllocator<T>>;
49
DataAllocator<T> data_alctr;
50
- if constexpr (sizeof...(FuncArgs)!=0u || !std::is_trivial<T>)
+ if constexpr (sizeof...(FuncArgs)!=0u || !std::is_trivial_v<T>)
51
{
52
for (uint32_t i = 0u; i < n; ++i)
53
traits_t::construct(data_alctr, reinterpret_cast<T*>(ptr) + i, std::forward<FuncArgs>(args)...);
0 commit comments