Author: chug
Date: Mon Apr 21 19:07:04 2014
New Revision: 1588966

URL: http://svn.apache.org/r1588966
Log:
QPID-5663: [C++ Messaging] Windows AMQP 1.0 map_receiver fails
MSVC's generated copy constructor for DataBuilder failed to copy the map 
correctly.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp?rev=1588966&r1=1588965&r2=1588966&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp Mon Apr 21 
19:07:04 2014
@@ -229,7 +229,7 @@ void EncodedMessage::getBody(std::string
                 c = builder.getList();
                 raw.assign(body.data, body.size);
             } else if (bodyType == qpid::amqp::typecodes::MAP_NAME) {
-                qpid::amqp::DataBuilder builder = 
qpid::amqp::DataBuilder(qpid::types::Variant::Map());
+                qpid::amqp::DataBuilder builder(new 
qpid::types::Variant::Map());
                 qpid::amqp::Decoder decoder(body.data, body.size);
                 decoder.read(builder);
                 c = builder.getValue().asMap();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to