]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix compilation
authorJosh Durgin <jdurgin@redhat.com>
Tue, 12 Jul 2016 00:38:43 +0000 (17:38 -0700)
committerCasey Bodley <cbodley@redhat.com>
Wed, 24 Aug 2016 18:05:19 +0000 (14:05 -0400)
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 874de58024e12d893ae050cd421ef67c9521c753)

src/rgw/rgw_bucket.cc

index ed36a5005a402654ba7e111510cf0390c1e12ad7..daf18f5051bb6c4b2866715c70accb31d9dabfe8 100644 (file)
@@ -1948,7 +1948,7 @@ public:
 
     if (!exists || old_bci.info.bucket.bucket_id != bci.info.bucket.bucket_id) {
       /* a new bucket, we need to select a new bucket placement for it */
-      auto key{entry};
+      auto key(entry);
       rgw_bucket_instance_oid_to_key(key);
       string tenant_name;
       string bucket_name;