xo-alloc2: rename: AllocatorError -> AllocError
This commit is contained in:
parent
56bdaec94c
commit
2dec6dbee8
16 changed files with 113 additions and 69 deletions
|
|
@ -177,7 +177,7 @@ namespace xo {
|
|||
bool contains(role r, const void * addr) const noexcept;
|
||||
|
||||
/** return details from last error (will be in gen0 to-space) **/
|
||||
AllocatorError last_error() const noexcept;
|
||||
AllocError last_error() const noexcept;
|
||||
|
||||
/** get allocation size from header **/
|
||||
std::size_t header2size(header_type hdr) const noexcept;
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ namespace xo {
|
|||
/** true iff address @p p comes from collector @p d **/
|
||||
static bool contains(const DX1Collector & d, const void * p) noexcept;
|
||||
/** report last error, if any, for collector @p d **/
|
||||
static AllocatorError last_error(const DX1Collector &) noexcept;
|
||||
static AllocError last_error(const DX1Collector &) noexcept;
|
||||
|
||||
/** always alloc in gen0 to-space **/
|
||||
static value_type alloc(DX1Collector & d, size_type z) noexcept;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue