summaryrefslogtreecommitdiff
path: root/cpp/src/broker/BrokerMessageMessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/broker/BrokerMessageMessage.cpp')
-rw-r--r--cpp/src/broker/BrokerMessageMessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/broker/BrokerMessageMessage.cpp b/cpp/src/broker/BrokerMessageMessage.cpp
index d8eb0fada0..e34cd61f6c 100644
--- a/cpp/src/broker/BrokerMessageMessage.cpp
+++ b/cpp/src/broker/BrokerMessageMessage.cpp
@@ -312,7 +312,7 @@ MessageTransferBody* MessageMessage::copyTransfer(const ProtocolVersion& version
}
MessageMessage::ReferencePtr MessageMessage::getReference() const {
- return reference.lock();
+ return reference;
}