From 034bb13e1ca3d64d4ce33c6af7a2e2eb2093b08e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 26 Oct 2017 09:01:06 +0200 Subject: [PATCH] util/HugeAllocator: add missing "static inline" Fixes the non-Linux build. --- src/util/HugeAllocator.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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};