]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_acl_s3.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / rgw / rgw_acl_s3.h
index 149db40e70b1eaa9f6ec0845c610f572860a172b..41877667a3e67a4a9314da8db209b60e4026d3e6 100644 (file)
@@ -86,7 +86,7 @@ public:
   int rebuild(RGWRados *store, ACLOwner *owner, RGWAccessControlPolicy& dest);
   bool compare_group_name(string& id, ACLGroupTypeEnum group) override;
 
-  virtual int create_canned(ACLOwner& _owner, ACLOwner& bucket_owner, string canned_acl) {
+  virtual int create_canned(ACLOwner& _owner, ACLOwner& bucket_owner, const string& canned_acl) {
     RGWAccessControlList_S3& _acl = static_cast<RGWAccessControlList_S3 &>(acl);
     int ret = _acl.create_canned(_owner, bucket_owner, canned_acl);
     owner = _owner;