util/HugeAllocator: add missing "static inline"
Fixes the non-Linux build.
This commit is contained in:
parent
6657801fb1
commit
034bb13e1c
@ -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};
|
||||||
|
Loading…
Reference in New Issue
Block a user