remove useless code in cache.h

This commit is contained in:
xindubawukong 2022-01-06 03:11:11 +08:00
parent b2801ee1a0
commit 87b3a371b1

View File

@ -96,14 +96,6 @@ class LEVELDB_EXPORT Cache {
// Return an estimate of the combined charges of all elements stored in the // Return an estimate of the combined charges of all elements stored in the
// cache. // cache.
virtual size_t TotalCharge() const = 0; virtual size_t TotalCharge() const = 0;
private:
void LRU_Remove(Handle* e);
void LRU_Append(Handle* e);
void Unref(Handle* e);
struct Rep;
Rep* rep_;
}; };
} // namespace leveldb } // namespace leveldb