summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-08-20 00:41:50 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-08-20 00:41:50 +0000
commitf35c8254478290242109444fc5979cea7bb2cb56 (patch)
tree951648f3d7ed94ba5464547d1bf8f6e79f807e2d /cpp/src/qpid
parent86dfb3e98b4c680db636bdbcd1fb63e7b0784f2b (diff)
downloadqpid-python-f35c8254478290242109444fc5979cea7bb2cb56.tar.gz
r1036@fuschia: andrew | 2007-08-20 01:41:12 +0100
Small fixes to allow code to compile git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@567515 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r--cpp/src/qpid/framing/AMQContentBody.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/AMQContentBody.h b/cpp/src/qpid/framing/AMQContentBody.h
index a476796015..dd4ab10d7d 100644
--- a/cpp/src/qpid/framing/AMQContentBody.h
+++ b/cpp/src/qpid/framing/AMQContentBody.h
@@ -37,7 +37,7 @@ public:
AMQContentBody(const string& data);
inline virtual ~AMQContentBody(){}
inline uint8_t type() const { return CONTENT_BODY; };
- inline string& getData(){ return data; }
+ inline const string& getData() const { return data; }
uint32_t size() const;
void encode(Buffer& buffer) const;
void decode(Buffer& buffer, uint32_t size);