]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_env.cc
update sources to v12.2.3
[ceph.git] / ceph / src / rgw / rgw_env.cc
index bc195f71e76af405d333b46580d6ca747e10b9e9..462a4619638bfc7afd9287f8f0569d080be26435 100644 (file)
@@ -17,9 +17,9 @@ void RGWEnv::init(CephContext *cct)
   conf.init(cct, this);
 }
 
-void RGWEnv::set(const boost::string_ref& name, const boost::string_ref& val)
+void RGWEnv::set(std::string name, std::string val)
 {
-  env_map[std::string{name}] = std::string{val};
+  env_map[std::move(name)] = std::move(val);
 }
 
 void RGWEnv::init(CephContext *cct, char **envp)