Skip to content

Commit 133dd64

Browse files
committed
Fix bug in master.
1 parent 4d95b10 commit 133dd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/nbl/core/containers/CMemoryPool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class CMemoryPool : public Uncopyable
4747

4848
using traits_t = std::allocator_traits<DataAllocator<T>>;
4949
DataAllocator<T> data_alctr;
50-
if constexpr (sizeof...(FuncArgs)!=0u || !std::is_trivial<T>)
50+
if constexpr (sizeof...(FuncArgs)!=0u || !std::is_trivial_v<T>)
5151
{
5252
for (uint32_t i = 0u; i < n; ++i)
5353
traits_t::construct(data_alctr, reinterpret_cast<T*>(ptr) + i, std::forward<FuncArgs>(args)...);

0 commit comments

Comments
 (0)