xo-alloc: nix-build + compiler nits
This commit is contained in:
parent
c041d63896
commit
51543ad3d3
5 changed files with 74 additions and 3 deletions
|
|
@ -390,8 +390,10 @@ namespace xo {
|
|||
|
||||
/* word size for alignment */
|
||||
constexpr uint32_t c_bpw = sizeof(std::uintptr_t);
|
||||
(void)c_bpw;
|
||||
|
||||
std::uintptr_t free_u64 = reinterpret_cast<std::uintptr_t>(free_ptr_);
|
||||
(void)free_u64;
|
||||
|
||||
assert(free_u64 % c_bpw == 0ul);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue