summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/AMQBody.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-24 13:29:05 +0000
committerAlan Conway <aconway@apache.org>2006-10-24 13:29:05 +0000
commit6920d8261ca0cdbb7e547a756a32dfd067cd15bc (patch)
tree981846eb1ebf8070a3fc654faf1e4e4f5f42c050 /cpp/src/qpid/framing/AMQBody.h
parent0a453564f9624bf4c0ce98194691be9ff0184e2b (diff)
downloadqpid-python-6920d8261ca0cdbb7e547a756a32dfd067cd15bc.tar.gz
QPID-52: use of tr1 and unordered_map break build or RHEL4.
Replaced unordered_map with std::map. Use boost::shared_ptr instead of std::tr1::shared_ptr. Since we're using boost for other things now anyway it's simpler & more portable. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/AMQBody.h')
-rw-r--r--cpp/src/qpid/framing/AMQBody.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/framing/AMQBody.h b/cpp/src/qpid/framing/AMQBody.h
index e9d77225fa..be06e43388 100644
--- a/cpp/src/qpid/framing/AMQBody.h
+++ b/cpp/src/qpid/framing/AMQBody.h
@@ -15,7 +15,7 @@
* limitations under the License.
*
*/
-#include "memory.h"
+#include <boost/shared_ptr.hpp>
#include "qpid/framing/amqp_types.h"
#include "qpid/framing/Buffer.h"
@@ -28,7 +28,7 @@ namespace qpid {
class AMQBody
{
public:
- typedef std::tr1::shared_ptr<AMQBody> shared_ptr;
+ typedef boost::shared_ptr<AMQBody> shared_ptr;
virtual ~AMQBody();
virtual u_int32_t size() const = 0;