]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_cors.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rgw / rgw_cors.h
index c183b8bc29d75cad6c875c5c21fd23c5e6dab423..6679900953b6d9b376d829272fe32c2c88e0e572 100644 (file)
@@ -126,7 +126,7 @@ class RGWCORSConfiguration
 };
 WRITE_CLASS_ENCODER(RGWCORSConfiguration)
 
-static inline int validate_name_string(string& o) {
+static inline int validate_name_string(std::string_view o) {
   if (o.length() == 0)
     return -1;
   if (o.find_first_of("*") != o.find_last_of("*"))