Minor change, for consistency only
This commit is contained in:
parent
0041432d83
commit
cb9d61757d
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue