diff options
author | Gordon Sim <gsim@apache.org> | 2007-09-06 20:27:33 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-09-06 20:27:33 +0000 |
commit | b33a63b36c659a894143382d0a61efe6a598fcc6 (patch) | |
tree | 0efc848ae9cc6064d615c6968b1d127e92b231d3 /cpp/src/qpid/framing/StructHelper.h | |
parent | 748698e4b8d5bd0c3ccec4ca898d334c13fc0795 (diff) | |
download | qpid-python-b33a63b36c659a894143382d0a61efe6a598fcc6.tar.gz |
Implementation of execution.result on the client side
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@573359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/StructHelper.h')
-rw-r--r-- | cpp/src/qpid/framing/StructHelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/StructHelper.h b/cpp/src/qpid/framing/StructHelper.h index 753a593523..6b111e1f9e 100644 --- a/cpp/src/qpid/framing/StructHelper.h +++ b/cpp/src/qpid/framing/StructHelper.h @@ -44,7 +44,7 @@ public: rbuffer.getRawData(data, size); } - template <class T> void decode(T t, std::string& data) { + template <class T> void decode(T& t, const std::string& data) { char* bytes = static_cast<char*>(::alloca(data.length())); Buffer wbuffer(bytes, data.length()); wbuffer.putRawData(data); |