]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove unused refcount data member from XMLObj. Also clears up ctor
authorGreg Farnum <gregf@hq.newdream.net>
Fri, 12 Mar 2010 22:24:17 +0000 (14:24 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Fri, 12 Mar 2010 22:24:17 +0000 (14:24 -0800)
src/rgw/rgw_acl.h

index 554e5d9e86ddb35cb11d21752c2e477967be822b..888c6da937ed8c187e096624f1209b1e9c90dbe5 100644 (file)
@@ -49,7 +49,6 @@ public:
  */
 class XMLObj
 {
-  int refcount;
   XMLObj *parent;
   string type;
 protected:
@@ -57,7 +56,6 @@ protected:
   multimap<string, XMLObj *> children;
   map<string, string> attr_map;
 public:
-  XMLObj() : refcount(0) {}
   virtual ~XMLObj() { }
   void xml_start(XMLObj *parent, const char *el, const char **attr) {
     this->parent = parent;