Author: aconway
Date: 2009-01-23 08:41:06 -0500 (Fri, 23 Jan 2009)
New Revision: 3070
Modified:
store/trunk/cpp/tests/MessageUtils.h
Log:
Fix build error.
Modified: store/trunk/cpp/tests/MessageUtils.h
===================================================================
--- store/trunk/cpp/tests/MessageUtils.h 2009-01-22 20:26:18 UTC (rev 3069)
+++ store/trunk/cpp/tests/MessageUtils.h 2009-01-23 13:41:06 UTC (rev 3070)
@@ -37,8 +37,8 @@
{
boost::intrusive_ptr<Message> msg(new Message());
- AMQFrame method(in_place<MessageTransferBody>(ProtocolVersion(), exchange,
0, 0));
- AMQFrame header(in_place<AMQHeaderBody>());
+ AMQFrame method((MessageTransferBody(ProtocolVersion(), exchange, 0, 0)));
+ AMQFrame header((AMQHeaderBody>()));
msg->getFrames().append(method);
msg->getFrames().append(header);
@@ -51,7 +51,7 @@
static void addContent(boost::intrusive_ptr<Message> msg, const string&
data)
{
- AMQFrame content(in_place<AMQContentBody>(data));
+ AMQFrame content((AMQContentBody(data)));
msg->getFrames().append(content);
}
Show replies by date