From: Sage Weil Date: Thu, 5 Dec 2013 23:33:20 +0000 (-0800) Subject: os/ObjectStore: make getattrs() pure virtual X-Git-Tag: v0.74~24^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=58231460772f882cfd35fac786778c304c207c8a;p=ceph.git os/ObjectStore: make getattrs() pure virtual It is required. Signed-off-by: Sage Weil --- diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 5c7147cce597..bed221e72c05 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -965,7 +965,7 @@ public: value.push_back(bp); return r; } - virtual int getattrs(coll_t cid, const ghobject_t& oid, map& aset, bool user_only = false) {return 0;}; + virtual int getattrs(coll_t cid, const ghobject_t& oid, map& aset, bool user_only = false) = 0; int getattrs(coll_t cid, const ghobject_t& oid, map& aset, bool user_only = false) { map bmap; int r = getattrs(cid, oid, bmap, user_only);