diff options
author | Gordon Sim <gsim@apache.org> | 2006-10-10 10:06:36 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-10-10 10:06:36 +0000 |
commit | 3a0eda85d85b3185d3fec6dec6700c6ca1fe3818 (patch) | |
tree | d4671a2fbb8ad69a0cc734134b43b28152c3e5b4 /cpp/common | |
parent | 14654e5360b72adf1704838b3820c7d1fc860e8e (diff) | |
download | qpid-python-3a0eda85d85b3185d3fec6dec6700c6ca1fe3818.tar.gz |
Implementation and tests for basic_qos (i.e. prefetching)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/common')
-rw-r--r-- | cpp/common/framing/inc/AMQContentBody.h | 2 | ||||
-rw-r--r-- | cpp/common/framing/src/AMQContentBody.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/common/framing/inc/AMQContentBody.h b/cpp/common/framing/inc/AMQContentBody.h index 1a6f2cf117..daf7d6cd44 100644 --- a/cpp/common/framing/inc/AMQContentBody.h +++ b/cpp/common/framing/inc/AMQContentBody.h @@ -33,7 +33,7 @@ public: typedef std::tr1::shared_ptr<AMQContentBody> shared_ptr; AMQContentBody(); - AMQContentBody(string& data); + AMQContentBody(const string& data); inline virtual ~AMQContentBody(){} inline u_int8_t type() const { return CONTENT_BODY; }; inline string& getData(){ return data; } diff --git a/cpp/common/framing/src/AMQContentBody.cpp b/cpp/common/framing/src/AMQContentBody.cpp index a9ee190ba8..6bc588c3ab 100644 --- a/cpp/common/framing/src/AMQContentBody.cpp +++ b/cpp/common/framing/src/AMQContentBody.cpp @@ -21,7 +21,7 @@ qpid::framing::AMQContentBody::AMQContentBody(){ } -qpid::framing::AMQContentBody::AMQContentBody(string& _data) : data(_data){ +qpid::framing::AMQContentBody::AMQContentBody(const string& _data) : data(_data){ } u_int32_t qpid::framing::AMQContentBody::size() const{ |