Make gRandom inline
I have no idea why I made it static
This commit is contained in:
@@ -393,7 +393,7 @@ inline Random seededRandom() {
|
||||
return Random{seed[0], seed[1]};
|
||||
}
|
||||
|
||||
static thread_local Random gRandom = seededRandom();
|
||||
inline thread_local Random gRandom = seededRandom();
|
||||
|
||||
// ==================== END RANDOM IMPL ====================
|
||||
|
||||
|
Reference in New Issue
Block a user