Remove unneeded field in cache entry
This commit is contained in:
parent
bf77e0ffa7
commit
58f43f6929
@ -26,18 +26,9 @@ public:
|
||||
return std::move(_block);
|
||||
}
|
||||
|
||||
void setNextEntry(const CacheEntry *entry) {
|
||||
_nextEntry = entry;
|
||||
}
|
||||
|
||||
const CacheEntry *nextEntry() {
|
||||
return _nextEntry;
|
||||
}
|
||||
|
||||
private:
|
||||
boost::posix_time::ptime _lastAccess;
|
||||
std::unique_ptr<Block> _block;
|
||||
const CacheEntry *_nextEntry;
|
||||
|
||||
static boost::posix_time::ptime currentTime() {
|
||||
return boost::posix_time::microsec_clock::local_time();
|
||||
|
Loading…
x
Reference in New Issue
Block a user