Block keys are drawn using pseudorandomness

This commit is contained in:
Sebastian Messmer 2015-06-16 16:54:43 +02:00
parent 64b9882ac8
commit 39e17b8015

View File

@ -25,7 +25,7 @@ public:
class ResourceRefBase {
public:
//TODO Better way to initialize
ResourceRefBase(): _cachingStore(nullptr), _key(Key::CreateRandom()) {}
ResourceRefBase(): _cachingStore(nullptr), _key(Key::CreatePseudoRandom()) {}
void init(ParallelAccessStore *cachingStore, const Key &key) {
_cachingStore = cachingStore;
_key = key;