Minor change, for consistency only

This commit is contained in:
Jean Pierre Cimalando 2021-03-31 17:10:15 +02:00
parent 0041432d83
commit cb9d61757d

View file

@ -36,7 +36,7 @@ void alignedDelete(T* ptr)
{
using allocator = jsl::aligned_allocator<T, A>;
if (ptr) {
ptr->~T();
allocator().destroy(ptr);
allocator().deallocate(ptr, sizeof(T));
}
}