From b33a63b36c659a894143382d0a61efe6a598fcc6 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 6 Sep 2007 20:27:33 +0000 Subject: 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 --- cpp/src/qpid/framing/StructHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/framing/StructHelper.h') 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 void decode(T t, std::string& data) { + template void decode(T& t, const std::string& data) { char* bytes = static_cast(::alloca(data.length())); Buffer wbuffer(bytes, data.length()); wbuffer.putRawData(data); -- cgit v1.2.1