]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix compilation 10252/head
authorJosh Durgin <jdurgin@redhat.com>
Tue, 12 Jul 2016 00:38:43 +0000 (17:38 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 12 Jul 2016 00:38:43 +0000 (17:38 -0700)
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/rgw/rgw_bucket.cc

index d6a148b22d10d895b6e035f4b5e8dcec2906f508..d2d19d4f69651c690ccc2fa1adbff834f41c3434 100644 (file)
@@ -2118,7 +2118,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;