]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_obj_manifest.h
import 15.2.4
[ceph.git] / ceph / src / rgw / rgw_obj_manifest.h
index c2b6157ed060056ae1c74de5234bcbae60d34ff9..4b3e66e9fd649bcbb6754f8a175d7c72f626eb64 100644 (file)
@@ -456,10 +456,10 @@ public:
     void seek(uint64_t ofs);
 
     void operator++();
-    bool operator==(const obj_iterator& rhs) {
+    bool operator==(const obj_iterator& rhs) const {
       return (ofs == rhs.ofs);
     }
-    bool operator!=(const obj_iterator& rhs) {
+    bool operator!=(const obj_iterator& rhs) const {
       return (ofs != rhs.ofs);
     }
     const rgw_obj_select& get_location() {
@@ -504,7 +504,7 @@ public:
 
     friend class RGWObjManifest;
     void dump(Formatter *f) const;
-  };
+  }; // class obj_iterator
 
   const obj_iterator& obj_begin();
   const obj_iterator& obj_end();
@@ -552,4 +552,3 @@ public:
   };
 };
 WRITE_CLASS_ENCODER(RGWObjManifest)
-