summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-07-09 12:32:48 +0000
committerAlan Conway <aconway@apache.org>2008-07-09 12:32:48 +0000
commitc2aa54aa28a3082d4a7a9ac010951e435f08a4d7 (patch)
treeb75e6e32e9d04adeefa8cd181df91a7f6c1084c6 /cpp/src
parent8c3baf496f9424249e2a666d79f0e3b38ba8d8fc (diff)
downloadqpid-python-c2aa54aa28a3082d4a7a9ac010951e435f08a4d7.tar.gz
Fix for older boost versions
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675144 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/HandlerChain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/HandlerChain.h b/cpp/src/qpid/HandlerChain.h
index adeaa96536..e3746ec14b 100644
--- a/cpp/src/qpid/HandlerChain.h
+++ b/cpp/src/qpid/HandlerChain.h
@@ -58,7 +58,7 @@ class HandlerChain {
/** HandlerChain owns the ChainableHandler. */
void push(HandlerAutoPtr h) {
- handlers.push_back(h);
+ handlers.push_back(h.release());
h->setNext(first);
first = h.get();
}