From a14f0f3869bb7defa7587ad9ccb18c3f086b2c3d Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Mon, 20 Jun 2016 15:56:50 +0200 Subject: [PATCH] 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 --- src/rgw/rgw_rest_swift.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index 0930ea774398..3a3537ba8027 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" -- 2.47.3