diff --git a/src/util/HugeAllocator.hxx b/src/util/HugeAllocator.hxx index b838f3862..0ae1c8581 100644 --- a/src/util/HugeAllocator.hxx +++ b/src/util/HugeAllocator.hxx @@ -107,7 +107,7 @@ HugeDiscard(void *p, size_t size) noexcept #include -WritableBuffer +static inline WritableBuffer HugeAllocate(size_t size) { return {new uint8_t[size], size};