Block keys are drawn using pseudorandomness
This commit is contained in:
parent
64b9882ac8
commit
39e17b8015
@ -25,7 +25,7 @@ public:
|
|||||||
class ResourceRefBase {
|
class ResourceRefBase {
|
||||||
public:
|
public:
|
||||||
//TODO Better way to initialize
|
//TODO Better way to initialize
|
||||||
ResourceRefBase(): _cachingStore(nullptr), _key(Key::CreateRandom()) {}
|
ResourceRefBase(): _cachingStore(nullptr), _key(Key::CreatePseudoRandom()) {}
|
||||||
void init(ParallelAccessStore *cachingStore, const Key &key) {
|
void init(ParallelAccessStore *cachingStore, const Key &key) {
|
||||||
_cachingStore = cachingStore;
|
_cachingStore = cachingStore;
|
||||||
_key = key;
|
_key = key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user