[*] Inline RNG header functions (missed two :()

This commit is contained in:
Reece Wilson 2021-07-13 13:13:59 +01:00
parent d9f9bba3c9
commit de25b0a0f5

View File

@ -13,7 +13,7 @@ namespace Aurora::RNG
AUKN_SYM void ReadFastRNG(void *in, AuUInt length);
template<bool fast = true, typename T, int N>
void Read(T(&array)[N])
static inline void Read(T(&array)[N])
{
if constexpr (fast)
{
@ -26,7 +26,7 @@ namespace Aurora::RNG
}
template<bool fast = true, typename T>
void Read(T *array, AuUInt length)
static inline void Read(T *array, AuUInt length)
{
if constexpr (fast)
{