Kaynağa Gözat

Make table cache non-copyable

main
ehds 3 yıl önce
ebeveyn
işleme
dbf24d9a0c
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. +4
    -0
      db/table_cache.h

+ 4
- 0
db/table_cache.h Dosyayı Görüntüle

@ -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

Yükleniyor…
İptal
Kaydet