xo-alloc2: mark Allocator.expand() noexcept
This commit is contained in:
parent
360ae4cb45
commit
07569add32
5 changed files with 19 additions and 19 deletions
|
|
@ -108,7 +108,7 @@ namespace xo {
|
|||
* to size at least @p z
|
||||
* In practice will round up to a multiple of hugepage size (2MB)
|
||||
**/
|
||||
virtual bool expand(Opaque d, std::size_t z) const = 0;
|
||||
virtual bool expand(Opaque d, std::size_t z) const noexcept = 0;
|
||||
/** allocate @p z bytes of memory from allocator @p d. **/
|
||||
virtual std::byte * alloc(Opaque d, std::size_t z) const = 0;
|
||||
/** reset allocator @p d to empty state **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue