diff options
author | Andrew Stitcher <astitcher@apache.org> | 2008-03-24 17:43:55 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2008-03-24 17:43:55 +0000 |
commit | 3f8a466daf6eba9717c27a635f2a7307cc4d03bd (patch) | |
tree | 08aa12215ccf68d2ba046d8154f1fcb902d3487c /cpp/src/tests/MessageUtils.h | |
parent | e7541b7deff38a74fe454f3b031ad013f71155ee (diff) | |
download | qpid-python-3f8a466daf6eba9717c27a635f2a7307cc4d03bd.tar.gz |
- 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
Diffstat (limited to 'cpp/src/tests/MessageUtils.h')
-rw-r--r-- | cpp/src/tests/MessageUtils.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<Message> createMessage(const string& exchange, const string& routingKey, + static boost::intrusive_ptr<Message> createMessage(const string& exchange, const string& routingKey, const string& messageId, uint64_t contentSize = 0) { - intrusive_ptr<Message> msg(new Message()); + boost::intrusive_ptr<Message> msg(new Message()); AMQFrame method(in_place<MessageTransferBody>(ProtocolVersion(), 0, exchange, 0, 0)); AMQFrame header(in_place<AMQHeaderBody>()); @@ -46,7 +46,7 @@ struct MessageUtils return msg; } - static void addContent(intrusive_ptr<Message> msg, const string& data) + static void addContent(boost::intrusive_ptr<Message> msg, const string& data) { AMQFrame content(in_place<AMQContentBody>(data)); msg->getFrames().append(content); |