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 | abfb71f78b2fccbdaf45882acfb49e481ab2e6b1 (patch) | |
| tree | 7e2a8f551d1acc2f519714f518620fda30524c48 /qpid/cpp/src | |
| parent | ccffa803fc79d04d57f93283a5adfa207868561e (diff) | |
| download | qpid-python-abfb71f78b2fccbdaf45882acfb49e481ab2e6b1.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@567515 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/Makefile.am | 2 | ||||
| -rw-r--r-- | qpid/cpp/src/qpid/framing/AMQContentBody.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/Makefile.am b/qpid/cpp/src/Makefile.am index a8bbe3bbf9..98e38cf89a 100644 --- a/qpid/cpp/src/Makefile.am +++ b/qpid/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/qpid/cpp/src/qpid/framing/AMQContentBody.h b/qpid/cpp/src/qpid/framing/AMQContentBody.h index a476796015..dd4ab10d7d 100644 --- a/qpid/cpp/src/qpid/framing/AMQContentBody.h +++ b/qpid/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); |
