]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/cls/journal/cls_journal_types.h
import 15.2.2 octopus source
[ceph.git] / ceph / src / cls / journal / cls_journal_types.h
index 705936a06d0457386ba4692dd4badac54996ddc7..f82d30c7e469419a06a00e5e0ef2537b91793caf 100644 (file)
@@ -35,6 +35,9 @@ struct ObjectPosition {
             tag_tid == rhs.tag_tid &&
             entry_tid == rhs.entry_tid);
   }
+  inline bool operator!=(const ObjectPosition& rhs) const {
+    return !(*this == rhs);
+  }
 
   void encode(ceph::buffer::list& bl) const;
   void decode(ceph::buffer::list::const_iterator& iter);