]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_swift: newer versions of boost/utility no longer include in_place 9817/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 20 Jun 2016 13:56:50 +0000 (15:56 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 20 Jun 2016 13:56:50 +0000 (15:56 +0200)
commita14f0f3869bb7defa7587ad9ccb18c3f086b2c3d
treedc7628af2b8ae3cb0e63c6d0459e1dba468e8266
parent873de61eaf7c9d4219872e8359bf2b5310c1b37e
rgw_swift: newer versions of boost/utility no longer include in_place

boost > 1.58 no longer includes in_place in boost/utility, we need to
include in_place_factory explicitly. This causes build failures in
distros that ship with a higher version of boost. Since the only call is for
swift_ver_location, another possibility is to use emplace()
instead (though this requires boost ~ 1.56)

Fixes: http://tracker.ceph.com/issues/16391
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_rest_swift.cc