xo-alloc2: make AAllocator.name() -> string_view
This commit is contained in:
parent
1ac6631d6d
commit
8d0af9a0e3
6 changed files with 6 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ namespace xo {
|
|||
|
||||
namespace mm {
|
||||
|
||||
const std::string &
|
||||
std::string_view
|
||||
IAllocator_DArena::name(const DArena & s) noexcept {
|
||||
return s.config_.name_;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue