Author: aconway
Date: Wed Jul 9 05:32:48 2008
New Revision: 675144
URL: http://svn.apache.org/viewvc?rev=675144&view=rev
Log:
Fix for older boost versions
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/HandlerChain.h
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/HandlerChain.h
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/HandlerChain.h?rev=675144&r1=675143&r2=675144&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/HandlerChain.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/HandlerChain.h Wed Jul 9 05:32:48
2008
@@ -58,7 +58,7 @@
/** HandlerChain owns the ChainableHandler. */
void push(HandlerAutoPtr h) {
- handlers.push_back(h);
+ handlers.push_back(h.release());
h->setNext(first);
first = h.get();
}