From 3f8a466daf6eba9717c27a635f2a7307cc4d03bd Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 24 Mar 2008 17:43:55 +0000 Subject: - Refactored RefCounted class to avoid virtual inheritance - Removed extraneous includes and definitions from RefCounted.h - Fixed all the places that were relying on RefCounted.h to be including the intrusive_ptr header file and were assuming that something had imported intrusive_ptr into the qpid namespace git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@640479 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/MessageUtils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/tests/MessageUtils.h') diff --git a/cpp/src/tests/MessageUtils.h b/cpp/src/tests/MessageUtils.h index 117473bb5e..3def8cd41b 100644 --- a/cpp/src/tests/MessageUtils.h +++ b/cpp/src/tests/MessageUtils.h @@ -29,10 +29,10 @@ using namespace framing; struct MessageUtils { - static intrusive_ptr createMessage(const string& exchange, const string& routingKey, + static boost::intrusive_ptr createMessage(const string& exchange, const string& routingKey, const string& messageId, uint64_t contentSize = 0) { - intrusive_ptr msg(new Message()); + boost::intrusive_ptr msg(new Message()); AMQFrame method(in_place(ProtocolVersion(), 0, exchange, 0, 0)); AMQFrame header(in_place()); @@ -46,7 +46,7 @@ struct MessageUtils return msg; } - static void addContent(intrusive_ptr msg, const string& data) + static void addContent(boost::intrusive_ptr msg, const string& data) { AMQFrame content(in_place(data)); msg->getFrames().append(content); -- cgit v1.2.1