mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
Fix missing alignment for kernighan_ritchie allocator unittests
This commit is contained in:
parent
d0bb8bbff7
commit
68b51e7a81
1 changed files with 2 additions and 2 deletions
|
@ -811,7 +811,7 @@ it actually returns memory to the operating system when possible.
|
|||
|
||||
void test(int[] sizes)
|
||||
{
|
||||
ubyte[256 * 1024] buf;
|
||||
align(size_t.sizeof) ubyte[256 * 1024] buf;
|
||||
auto a = KRRegion!()(buf);
|
||||
|
||||
void[][] bufs;
|
||||
|
@ -853,7 +853,7 @@ it actually returns memory to the operating system when possible.
|
|||
|
||||
void test(int[] sizes, int word)
|
||||
{
|
||||
ubyte[256 * 1024] buf;
|
||||
align(size_t.sizeof) ubyte[256 * 1024] buf;
|
||||
auto a = KRRegion!()(buf);
|
||||
|
||||
void[][] bufs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue