From: Sage Weil Date: Wed, 4 Dec 2013 22:46:49 +0000 (-0800) Subject: os/ObjectStore: prevent copying X-Git-Tag: v0.74~24^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b8371a4bfa4677baeef2b237a9038af94ea0c86;p=ceph.git os/ObjectStore: prevent copying Signed-off-by: Sage Weil --- diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 8aa47f82a70..5c7147cce59 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -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;