dtoolbase: Add comment clarifying assertion in DeletedBufferChain

[skip ci]
This commit is contained in:
rdb 2022-10-31 19:26:59 +01:00
parent 587f9f7bcd
commit d8a537b59b

View File

@ -36,6 +36,7 @@ allocate(size_t size, TypeHandle type_handle) {
#ifdef USE_DELETED_CHAIN
// TAU_PROFILE("void *DeletedBufferChain::allocate(size_t, TypeHandle)", "
// ", TAU_USER);
// If this triggers, maybe you forgot ALLOC_DELETED_CHAIN in a subclass?
assert(size <= _buffer_size);
// Determine how much space to allocate.