File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 19
19
#include < algorithm>
20
20
#include < numeric>
21
21
#include < cassert>
22
- #include < cstddef>
23
22
#include < cstdio>
24
23
#include < cstdlib>
25
24
#include < cstring>
@@ -1891,7 +1890,7 @@ class BumpPointerAllocator {
1891
1890
static constexpr size_t AllocSize = 4096 ;
1892
1891
static constexpr size_t UsableAllocSize = AllocSize - sizeof (BlockMeta);
1893
1892
1894
- alignas (max_align_t ) char InitialBuffer[AllocSize];
1893
+ alignas (16 ) char InitialBuffer[AllocSize];
1895
1894
BlockMeta* BlockList = nullptr ;
1896
1895
1897
1896
void grow () {
Original file line number Diff line number Diff line change 17
17
#include < cassert>
18
18
#include < cctype>
19
19
#include < cstdio>
20
- #include < cstddef>
21
20
#include < cstdlib>
22
21
#include < cstring>
23
22
#include < numeric>
@@ -1951,7 +1950,7 @@ class BumpPointerAllocator {
1951
1950
static constexpr size_t AllocSize = 4096 ;
1952
1951
static constexpr size_t UsableAllocSize = AllocSize - sizeof (BlockMeta);
1953
1952
1954
- alignas (max_align_t ) char InitialBuffer[AllocSize];
1953
+ alignas (16 ) char InitialBuffer[AllocSize];
1955
1954
BlockMeta* BlockList = nullptr ;
1956
1955
1957
1956
void grow () {
You can’t perform that action at this time.
0 commit comments