summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/LazyLoadedContent.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-07-23 12:29:17 +0000
committerGordon Sim <gsim@apache.org>2007-07-23 12:29:17 +0000
commit0db1af31320aa010c8e97da80000f7548d889068 (patch)
treece2cd8dba8cf46b685dcb626b31e25c17702c1a0 /cpp/src/qpid/broker/LazyLoadedContent.cpp
parent747ac26509e78ac9aa9120be02cd446ac99d21cd (diff)
downloadqpid-python-0db1af31320aa010c8e97da80000f7548d889068.tar.gz
Added initial 'execution-layer' to try out methods form the 0-10 execution class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@558700 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/LazyLoadedContent.cpp')
-rw-r--r--cpp/src/qpid/broker/LazyLoadedContent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/LazyLoadedContent.cpp b/cpp/src/qpid/broker/LazyLoadedContent.cpp
index c11d049317..80d06ebf2b 100644
--- a/cpp/src/qpid/broker/LazyLoadedContent.cpp
+++ b/cpp/src/qpid/broker/LazyLoadedContent.cpp
@@ -52,12 +52,12 @@ void LazyLoadedContent::send(ChannelAdapter& channel, uint32_t framesize)
string data;
store->loadContent(*msg, data, offset,
remaining > framesize ? framesize : remaining);
- channel.send(new AMQContentBody(data));
+ channel.send(make_shared_ptr(new AMQContentBody(data)));
}
} else {
string data;
store->loadContent(*msg, data, 0, expectedSize);
- channel.send(new AMQContentBody(data));
+ channel.send(make_shared_ptr(new AMQContentBody(data)));
}
}