Cache: Fix review issues

This commit is contained in:
Johan Wikman
2016-12-20 15:38:50 +02:00
parent e90f0d31a6
commit 69acb8b9aa
2 changed files with 2 additions and 3 deletions

View File

@ -51,8 +51,7 @@ InMemoryStorage::~InMemoryStorage()
bool InMemoryStorage::Initialize(uint32_t* pCapabilities) bool InMemoryStorage::Initialize(uint32_t* pCapabilities)
{ {
*pCapabilities = CACHE_STORAGE_CAP_ST; *pCapabilities = (CACHE_STORAGE_CAP_ST | CACHE_STORAGE_CAP_MT);
*pCapabilities = CACHE_STORAGE_CAP_MT;
return true; return true;
} }

View File

@ -21,7 +21,7 @@ public:
~StorageReal(); ~StorageReal();
void get_config(CACHE_STORAGE_CONFIG* pConfig); void get_config(CACHE_STORAGE_CONFIG* pConfig);
cache_result_t get_info(uint32_t flags, cache_result_t get_info(uint32_t flags,
json_t** ppInfo) const; json_t** ppInfo) const;