]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_iam_policy.cc
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rgw / rgw_iam_policy.cc
index f43b20ee5f3cf0d92a09de6add655f7662269864..2265334a76f427b6de1ef993b1ec11eff3733ba0 100644 (file)
@@ -382,7 +382,7 @@ bool ParseState::key(const char* s, size_t l) {
   bool ifexists = false;
   if (w->id == TokenID::Condition && w->kind == TokenKind::statement) {
     static constexpr char IfExists[] = "IfExists";
-    if (boost::algorithm::ends_with(boost::string_view{s, l}, IfExists)) {
+    if (boost::algorithm::ends_with(std::string_view{s, l}, IfExists)) {
       ifexists = true;
       token_len -= sizeof(IfExists)-1;
     }