diff options
| author | Charles E. Rolke <chug@apache.org> | 2014-04-21 19:07:04 +0000 |
|---|---|---|
| committer | Charles E. Rolke <chug@apache.org> | 2014-04-21 19:07:04 +0000 |
| commit | 4237858c542e72ced9e1abcff433692e1fd3b1af (patch) | |
| tree | c4bf3b776261b332c11fbafe48de92b22fa5a36c | |
| parent | e6b7f62a577ca0f35765d679c5264f0737e5e3a6 (diff) | |
| download | qpid-python-4237858c542e72ced9e1abcff433692e1fd3b1af.tar.gz | |
QPID-5663: [C++ Messaging] Windows AMQP 1.0 map_receiver fails
MSVC's generated copy constructor for DataBuilder failed to copy the map correctly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588966 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp b/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp index 6b9c21ea92..2ca8323ba2 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp +++ b/qpid/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp @@ -229,7 +229,7 @@ void EncodedMessage::getBody(std::string& raw, qpid::types::Variant& c) const 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(); |
