summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxindubawukong <xindubawukong@gmail.com>2022-01-06 03:11:11 +0800
committerxindubawukong <xindubawukong@gmail.com>2022-01-06 03:11:11 +0800
commit87b3a371b1a12ed17dae3b80239a84b6bbecd570 (patch)
tree5f9275f8b1217eb78539e42b8d05b011a3d9ca18
parentb2801ee1a0e3a5c0c393dc04eef63691f79ed694 (diff)
downloadleveldb-87b3a371b1a12ed17dae3b80239a84b6bbecd570.tar.gz
remove useless code in cache.h
-rw-r--r--include/leveldb/cache.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/leveldb/cache.h b/include/leveldb/cache.h
index 98c95ac..a94c683 100644
--- a/include/leveldb/cache.h
+++ b/include/leveldb/cache.h
@@ -96,14 +96,6 @@ class LEVELDB_EXPORT Cache {
// Return an estimate of the combined charges of all elements stored in the
// cache.
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