From: Radoslaw Zarzynski Date: Thu, 15 Sep 2016 21:02:41 +0000 (+0200) Subject: rgw: switch to boost::algorithm::equals in RGWSwiftWebsiteHandler. X-Git-Tag: v11.0.1~159^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=80ecae217e2d21f3c7663a19490585918d4f90a4;p=ceph.git rgw: switch to boost::algorithm::equals in RGWSwiftWebsiteHandler. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index b52019915f0..fc451bd12fb 100644 --- a/src/rgw/rgw_rest_swift.cc +++ b/src/rgw/rgw_rest_swift.cc @@ -1710,7 +1710,7 @@ RGWOp* RGWSwiftWebsiteHandler::get_ws_index_op() } auto getop = new RGWGetObj_ObjStore_SWIFT; - getop->set_get_data(boost::string_ref("GET") == s->info.method); + getop->set_get_data(boost::algorithm::equals("GET", s->info.method)); return getop; }