bareos: master 74a39971
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
Andreas Rogge | Andreas Rogge | master | 2022-01-27 16:18 | master d110a5ad | Pending |
Changeset | lib: make dlist always default-constructible Previously, when dlist was default-constructed, it assumed to have T have dlink<T> at offset 0. This patch now calculates the offset of T::link within T. We also ensure that the old parameterized constructor cannot be called incorrectly. As all calls to init() and init(T*, dlink<T>*) have been removed, we also remove these now unused functions. |
||||
mod - core/src/lib/dlist.h | Diff File |