diff options
Diffstat (limited to 'zenserver/cache/structuredcachestore.h')
| -rw-r--r-- | zenserver/cache/structuredcachestore.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h index d3c2227ac..afec8542f 100644 --- a/zenserver/cache/structuredcachestore.h +++ b/zenserver/cache/structuredcachestore.h @@ -7,9 +7,7 @@ #include <zencore/iohash.h> #include <zencore/thread.h> #include <zencore/uid.h> -#include <zenstore/basicfile.h> #include <zenstore/cas.h> -#include <zenstore/caslog.h> #include <zenstore/gc.h> ZEN_THIRD_PARTY_INCLUDES_START @@ -86,8 +84,8 @@ private: { struct BucketValue { - uint64_t LastAccess = 0; - IoBuffer Payload; + GcClock::Tick LastAccess{}; + IoBuffer Payload; }; RwLock m_bucketLock; @@ -100,7 +98,6 @@ private: inline uint64_t TotalSize() const { return m_TotalSize; } private: - uint64_t GetCurrentTimeStamp(); std::atomic_uint64_t m_TotalSize{}; }; |