From: Abhishek Lekshmanan Date: Mon, 20 Jun 2016 13:56:50 +0000 (+0200) Subject: rgw_swift: newer versions of boost/utility no longer include in_place X-Git-Tag: v11.0.0~113^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9817%2Fhead;p=ceph.git 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 --- diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index 0930ea77439..3a3537ba802 100644 --- a/src/rgw/rgw_rest_swift.cc +++ b/src/rgw/rgw_rest_swift.cc @@ -2,6 +2,7 @@ // vim: ts=8 sw=2 smarttab #include +#include #include "include/assert.h"