Cache: Fix review issues
This commit is contained in:
@ -51,8 +51,7 @@ InMemoryStorage::~InMemoryStorage()
|
||||
|
||||
bool InMemoryStorage::Initialize(uint32_t* pCapabilities)
|
||||
{
|
||||
*pCapabilities = CACHE_STORAGE_CAP_ST;
|
||||
*pCapabilities = CACHE_STORAGE_CAP_MT;
|
||||
*pCapabilities = (CACHE_STORAGE_CAP_ST | CACHE_STORAGE_CAP_MT);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
2
server/modules/filter/cache/storagereal.hh
vendored
2
server/modules/filter/cache/storagereal.hh
vendored
@ -21,7 +21,7 @@ public:
|
||||
~StorageReal();
|
||||
|
||||
void get_config(CACHE_STORAGE_CONFIG* pConfig);
|
||||
|
||||
|
||||
cache_result_t get_info(uint32_t flags,
|
||||
json_t** ppInfo) const;
|
||||
|
||||
|
Reference in New Issue
Block a user