[*] Inline RNG header functions (missed two :()
This commit is contained in:
parent
d9f9bba3c9
commit
de25b0a0f5
@ -13,7 +13,7 @@ namespace Aurora::RNG
|
|||||||
AUKN_SYM void ReadFastRNG(void *in, AuUInt length);
|
AUKN_SYM void ReadFastRNG(void *in, AuUInt length);
|
||||||
|
|
||||||
template<bool fast = true, typename T, int N>
|
template<bool fast = true, typename T, int N>
|
||||||
void Read(T(&array)[N])
|
static inline void Read(T(&array)[N])
|
||||||
{
|
{
|
||||||
if constexpr (fast)
|
if constexpr (fast)
|
||||||
{
|
{
|
||||||
@ -26,7 +26,7 @@ namespace Aurora::RNG
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<bool fast = true, typename T>
|
template<bool fast = true, typename T>
|
||||||
void Read(T *array, AuUInt length)
|
static inline void Read(T *array, AuUInt length)
|
||||||
{
|
{
|
||||||
if constexpr (fast)
|
if constexpr (fast)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user