From 1a14b81c86c49d562486ab2c55a75c564144fa71 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 22 Jan 2009 20:29:12 +0000 Subject: Removed BodyHolder: minor performance improvement, opens the way for more efficient memory management. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736783 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/Connection.cpp') diff --git a/cpp/src/qpid/cluster/Connection.cpp b/cpp/src/qpid/cluster/Connection.cpp index a255acfc1f..3988abd491 100644 --- a/cpp/src/qpid/cluster/Connection.cpp +++ b/cpp/src/qpid/cluster/Connection.cpp @@ -109,7 +109,7 @@ void Connection::received(framing::AMQFrame& f) { QPID_LOG(debug, cluster << " inserting connection " << *this); cluster.insert(boost::intrusive_ptr(this)); } - AMQFrame ok(in_place()); + AMQFrame ok((ConnectionCloseOkBody())); connection.getOutput().send(ok); output.setOutputHandler(discardHandler); catchUp = false; -- cgit v1.2.1