]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/rgw_cls_api.h cleanup
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 11 Jun 2012 21:00:20 +0000 (14:00 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 11 Jun 2012 21:00:20 +0000 (14:00 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_cls_api.h

index 43e07dfd8e56219034849816ed2791b81385f56c..ee5557757b63772208daf92c20f3070b4e81e63f 100644 (file)
@@ -434,17 +434,6 @@ struct rgw_user_bucket {
   rgw_user_bucket() {}
   rgw_user_bucket(string &u, string& b) : user(u), bucket(b) {}
 
-  bool operator()(const rgw_user_bucket& ub1, const rgw_user_bucket& ub2) const
-  {
-    int comp = ub1.user.compare(ub2.user);
-    if (comp < 0)
-      return true;
-    else if (!comp)
-      return ub1.bucket.compare(ub2.bucket) < 0;
-  
-    return false;
-  }
-
   void encode(bufferlist& bl) const {
     ENCODE_START(1, 1, bl);
     ::encode(user, bl);