summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorVictor Costan <pwnall@chromium.org>2022-01-09 03:15:10 +0000
committerVictor Costan <pwnall@chromium.org>2022-01-09 03:15:10 +0000
commit8796c44772e63eafe916921cf8f5fa940f53106b (patch)
treee4c74ce57e53954ef2a51c84fa26b1e80a996679 /db
parente4ccaa0c9cb1a019df3df74eb5db4ec55e9e02ed (diff)
parentdbf24d9a0c3e91345281d1c8c9263e31fefadc36 (diff)
downloadleveldb-8796c44772e63eafe916921cf8f5fa940f53106b.tar.gz
Merge pull request #902 from ehds:update-table-cache
PiperOrigin-RevId: 420517390
Diffstat (limited to 'db')
-rw-r--r--db/table_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/db/table_cache.h b/db/table_cache.h
index aac9bfc..db8a123 100644
--- a/db/table_cache.h
+++ b/db/table_cache.h
@@ -22,6 +22,10 @@ class Env;
class TableCache {
public:
TableCache(const std::string& dbname, const Options& options, int entries);
+
+ TableCache(const TableCache&) = delete;
+ TableCache& operator=(const TableCache&) = delete;
+
~TableCache();
// Return an iterator for the specified file number (the corresponding