0
0
Fork 0
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:
Jason Volk 2020-07-23 13:24:43 -07:00
parent 582860f789
commit a46382b285

View file

@ -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;
} }