mirror of
https://github.com/google/leveldb.git
synced 2024-11-23 19:48:59 +08:00
Make table cache non-copyable
This commit is contained in:
parent
f57513a1d6
commit
dbf24d9a0c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user