Consistency again

This commit is contained in:
Jean Pierre Cimalando 2021-03-31 17:19:30 +02:00
parent 28f44afb4a
commit d509842d08

View file

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