util/HugeAllocator: add SetName()

This commit is contained in:
Max Kellermann
2022-04-26 20:18:07 +02:00
parent 3ae660ca90
commit 7ed67d216b
4 changed files with 41 additions and 3 deletions
+4
View File
@@ -112,6 +112,10 @@ public:
return map.size();
}
void SetName(const char *name) noexcept {
buffer.SetName(name);
}
struct ReadResult {
size_type undefined_size;
ConstBuffer<T> defined_buffer;