From 476fa9e1bd2bde055b6fb436ca093d60e559cb47 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Fri, 20 Jun 2008 22:48:36 +0000 Subject: QPID-1069: Patch from Steve Huston: Build with Boost 1.35 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@670089 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/Blob.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/framing/Blob.h b/cpp/src/qpid/framing/Blob.h index 8b304ba708..7cf4cefc3b 100644 --- a/cpp/src/qpid/framing/Blob.h +++ b/cpp/src/qpid/framing/Blob.h @@ -27,6 +27,7 @@ #include #include #include +#include #include @@ -39,7 +40,8 @@ namespace framing { using boost::in_place; using boost::typed_in_place_factory_base; -/** 0-arg typed_in_place_factory, missing in boost. */ +/** 0-arg typed_in_place_factory, missing in pre-1.35 boost. */ +#if (BOOST_VERSION < 103500) template struct typed_in_place_factory0 : public typed_in_place_factory_base { typedef T value_type ; @@ -49,6 +51,7 @@ struct typed_in_place_factory0 : public typed_in_place_factory_base { /** 0-arg in_place() function, missing from boost. */ template typed_in_place_factory0 in_place() { return typed_in_place_factory0(); } +#endif template struct EnableInPlace -- cgit v1.2.1