summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/TransferContent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/TransferContent.cpp')
-rw-r--r--cpp/src/qpid/framing/TransferContent.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/qpid/framing/TransferContent.cpp b/cpp/src/qpid/framing/TransferContent.cpp
index 99f5d365e8..42af2027eb 100644
--- a/cpp/src/qpid/framing/TransferContent.cpp
+++ b/cpp/src/qpid/framing/TransferContent.cpp
@@ -38,8 +38,11 @@ AMQHeaderBody TransferContent::getHeader() const
return header;
}
-const std::string& TransferContent::getData() const
-{
+const std::string& TransferContent::getData() const {
+ return data;
+}
+
+std::string& TransferContent::getData() {
return data;
}