Consistency again
This commit is contained in:
parent
28f44afb4a
commit
d509842d08
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ void alignedDelete(T* ptr)
|
||||||
using allocator = jsl::aligned_allocator<T, A>;
|
using allocator = jsl::aligned_allocator<T, A>;
|
||||||
if (ptr) {
|
if (ptr) {
|
||||||
allocator().destroy(ptr);
|
allocator().destroy(ptr);
|
||||||
allocator().deallocate(ptr, sizeof(T));
|
allocator().deallocate(ptr, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue