Commit 034bb13e authored by Max Kellermann's avatar Max Kellermann

util/HugeAllocator: add missing "static inline"

Fixes the non-Linux build.
parent 6657801f
...@@ -107,7 +107,7 @@ HugeDiscard(void *p, size_t size) noexcept ...@@ -107,7 +107,7 @@ HugeDiscard(void *p, size_t size) noexcept
#include <stdint.h> #include <stdint.h>
WritableBuffer<void> static inline WritableBuffer<void>
HugeAllocate(size_t size) HugeAllocate(size_t size)
{ {
return {new uint8_t[size], size}; return {new uint8_t[size], size};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment