mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +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
|
||||
};
|
||||
|
||||
assert(ret % alignment == 0);
|
||||
assert(alignment % sizeof(void *) == 0);
|
||||
#ifndef IRCD_ALLOCATOR_USE_JEMALLOC
|
||||
assert(ret % alignment == 0);
|
||||
assert(alignment % sizeof(void *) == 0);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue