Work with new blockstore::Key
This commit is contained in:
parent
698cc41db5
commit
859703a67b
@ -30,7 +30,7 @@ public:
|
||||
class CachedResource {
|
||||
public:
|
||||
//TODO Better way to initialize
|
||||
CachedResource(): _cachingStore(nullptr), _key(Key::CreateRandomKey()) {}
|
||||
CachedResource(): _cachingStore(nullptr), _key(Key::CreateRandom()) {}
|
||||
void init(CachingStore *cachingStore, const Key &key) {
|
||||
_cachingStore = cachingStore;
|
||||
_key = key;
|
||||
|
Loading…
Reference in New Issue
Block a user