aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-05-24 21:04:01 +0200
committerStefan Boberg <[email protected]>2021-05-24 21:04:01 +0200
commitd75de15200195e0854f9ba36a94bc659fb811b09 (patch)
tree521e98362f7eccf13cef52f4a398812133c0330a /zenserver/cache/structuredcachestore.h
parentAdded support for early release of scoped RWLock helpers (diff)
downloadzen-d75de15200195e0854f9ba36a94bc659fb811b09.tar.xz
zen-d75de15200195e0854f9ba36a94bc659fb811b09.zip
Z$ now tracks content type for large objects as well as small. Large objects are tracked in index
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
-rw-r--r--zenserver/cache/structuredcachestore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h
index 47302dc10..81425a29e 100644
--- a/zenserver/cache/structuredcachestore.h
+++ b/zenserver/cache/structuredcachestore.h
@@ -60,8 +60,8 @@ public:
private:
struct CacheBucket
{
- zen::RwLock m_bucketLock;
- tsl::robin_map<zen::IoHash, zen::IoBuffer, zen::IoHash::Hasher> m_cacheMap;
+ zen::RwLock m_bucketLock;
+ tsl::robin_map<zen::IoHash, zen::IoBuffer> m_cacheMap;
bool Get(const zen::IoHash& HashKey, ZenCacheValue& OutValue);
void Put(const zen::IoHash& HashKey, const ZenCacheValue& Value);