xo-alloc2: rename: AllocatorError -> AllocError

This commit is contained in:
Roland Conybeare 2025-12-16 17:18:38 -05:00
commit 2dec6dbee8
16 changed files with 113 additions and 69 deletions

View file

@ -6,7 +6,7 @@
#pragma once
#include "alloc/AllocHeader.hpp"
#include "alloc/AllocatorError.hpp"
#include "alloc/AllocError.hpp"
#include <string>
#include <cstdint>

View file

@ -152,7 +152,7 @@ namespace xo {
uint32_t error_count_ = 0;
/** capture some error details if/when error **/
AllocatorError last_error_;
AllocError last_error_;
///@}
};

View file

@ -43,7 +43,7 @@ namespace xo {
static size_type available(const DArena &) noexcept;
static size_type allocated(const DArena &) noexcept;
static bool contains(const DArena &, const void * p) noexcept;
static AllocatorError last_error(const DArena &) noexcept;
static AllocError last_error(const DArena &) noexcept;
/** retrieve allocation bookkeeping info for @p mem from arena @p d **/
static AllocInfo alloc_info(DArena &, value_type mem) noexcept;