You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2008/07/09 14:32:48 UTC
svn commit: r675144 - /incubator/qpid/trunk/qpid/cpp/src/qpid/HandlerChain.h
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();
}