]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/include/uuid.h
update sources to v12.1.2
[ceph.git] / ceph / src / include / uuid.h
index bd888f863da10318329058cfde41adf96d378130..98ee4b70be1feecab5389e68481a795b08966c8c 100644 (file)
@@ -74,6 +74,9 @@ inline bool operator==(const uuid_d& l, const uuid_d& r) {
 inline bool operator!=(const uuid_d& l, const uuid_d& r) {
   return l.uuid != r.uuid;
 }
+inline bool operator<(const uuid_d& l, const uuid_d& r) {
+  return l.to_string() < r.to_string();
+}
 
 
 #endif