diff options
author | Andrew Stitcher <astitcher@apache.org> | 2007-08-20 00:41:50 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2007-08-20 00:41:50 +0000 |
commit | f35c8254478290242109444fc5979cea7bb2cb56 (patch) | |
tree | 951648f3d7ed94ba5464547d1bf8f6e79f807e2d /cpp/src | |
parent | 86dfb3e98b4c680db636bdbcd1fb63e7b0784f2b (diff) | |
download | qpid-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')
-rw-r--r-- | cpp/src/Makefile.am | 2 | ||||
-rw-r--r-- | cpp/src/qpid/framing/AMQContentBody.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am index a8bbe3bbf9..98e38cf89a 100644 --- a/cpp/src/Makefile.am +++ b/cpp/src/Makefile.am @@ -52,7 +52,7 @@ generate_MethodHolderMaxSize_h_SOURCES=generate_MethodHolderMaxSize_h.cpp qpid/framing/MethodHolderMaxSize.h: generate_MethodHolderMaxSize_h ./generate_MethodHolderMaxSize_h BUILT_SOURCES=qpid/framing/MethodHolderMaxSize.h -DISTCLEANFILES=qpid/framing/MethodHolderMaxSize.h +DISTCLEANFILES+=qpid/framing/MethodHolderMaxSize.h ## Compiler flags 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); |