]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_bucket.h
update sources to v12.1.0
[ceph.git] / ceph / src / rgw / rgw_bucket.h
index 09a5ae2e825b3e54b7488b2b0e23a3c9302ee0f5..b4c32b2c570e26f2e7e315ce7c8637d7b030e1be 100644 (file)
@@ -20,9 +20,6 @@
 #include "common/ceph_time.h"
 #include "rgw_formats.h"
 
-
-using namespace std;
-
 // define as static when RGWBucket implementation compete
 extern void rgw_get_buckets_obj(const rgw_user& user_id, string& buckets_obj_id);
 
@@ -213,11 +210,11 @@ struct RGWBucketAdminOpState {
 
   void set_max_aio(int value) { max_aio = value; }
 
-  void set_user_id(rgw_user& user_id) {
+  void set_user_id(const rgw_user& user_id) {
     if (!user_id.empty())
       uid = user_id;
   }
-  void set_bucket_name(std::string& bucket_str) {
+  void set_bucket_name(const std::string& bucket_str) {
     bucket_name = bucket_str; 
   }
   void set_object(std::string& object_str) {