Work with new blockstore::Key

This commit is contained in:
Sebastian Messmer 2015-04-09 20:07:33 +02:00
parent 698cc41db5
commit 859703a67b

View File

@ -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;