aboutsummaryrefslogtreecommitdiff
path: root/db/table_cache.h
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2022-02-17 14:11:18 +0800
committerKunoiSayami <[email protected]>2022-02-17 14:11:18 +0800
commit74c563f94e4b02779465ead2b2dbce0db59e352a (patch)
tree64e747bfa7b46274a34b6c7787a7233ceafba846 /db/table_cache.h
parente98fc6bf301bb3bf38aab4ccce51edc16953024b (diff)
merge: Merge remote-tracking branch google/main@4fb1468
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'db/table_cache.h')
-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