bareos: master adb4681c

Author Committer Branch Timestamp Parent
arogge arogge master 2021-11-24 20:50 master 0c48fcb8 Pending
Changeset poolmem: improve code and readability

Previously, poolmem used a lot of hard-to-read c-style casts. This patch
consolidates pointer-arithmetic as much as possible and tries to avoid
duplicated code.
While changing the code, we also changed the interface a little, all the
allocation/deallocation-related functions are now marked noexcept.
mod - core/src/lib/mem_pool.cc Diff File
mod - core/src/lib/mem_pool.h Diff File