util/HugeAllocator: add missing "static inline"

Fixes the non-Linux build.
This commit is contained in:
Max Kellermann 2017-10-26 09:01:06 +02:00
parent 6657801fb1
commit 034bb13e1c

View File

@ -107,7 +107,7 @@ HugeDiscard(void *p, size_t size) noexcept
#include <stdint.h>
WritableBuffer<void>
static inline WritableBuffer<void>
HugeAllocate(size_t size)
{
return {new uint8_t[size], size};