summaryrefslogtreecommitdiff
path: root/db/table_cache.h
diff options
context:
space:
mode:
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