mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd: Add fixed alignment to dynamic allocator for now.
This commit is contained in:
parent
62a68d8931
commit
fa0ad99df6
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ struct ircd::allocator::dynamic
|
|||
,data_size{sizeof(T) * size + 16}
|
||||
,arena
|
||||
{
|
||||
new uint8_t[head_size + data_size]
|
||||
new __attribute__((aligned(16))) uint8_t[head_size + data_size]
|
||||
}
|
||||
,buf
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue