mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::db::database::allocator: Fix assertion ifdef condition.
This commit is contained in:
parent
582860f789
commit
a46382b285
1 changed files with 5 additions and 2 deletions
|
@ -480,8 +480,11 @@ const noexcept
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef IRCD_ALLOCATOR_USE_JEMALLOC
|
||||||
assert(ret % alignment == 0);
|
assert(ret % alignment == 0);
|
||||||
assert(alignment % sizeof(void *) == 0);
|
assert(alignment % sizeof(void *) == 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue