mirror of
https://github.com/ceph/ceph
synced 2024-12-29 23:12:27 +00:00
os/ObjectStore: prevent copying
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
a70200e329
commit
3b8371a4bf
@ -866,6 +866,10 @@ public:
|
||||
ObjectStore(const std::string& path_) : path(path_), logger(NULL) {}
|
||||
virtual ~ObjectStore() {}
|
||||
|
||||
// no copying
|
||||
ObjectStore(const ObjectStore& o);
|
||||
const ObjectStore& operator=(const ObjectStore& o);
|
||||
|
||||
// mgmt
|
||||
virtual int version_stamp_is_valid(uint32_t *version) { return 1; }
|
||||
virtual int update_version_stamp() = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user