From b22dd47558cc11572d080ac25808012092dda597 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 26 Sep 2008 17:11:19 +0000 Subject: Fix build problems on rhel 5.2 and 64-bit encoding bug. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@699413 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/DumpClient.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/DumpClient.cpp') diff --git a/cpp/src/qpid/cluster/DumpClient.cpp b/cpp/src/qpid/cluster/DumpClient.cpp index ee87afb468..d2d3c9bb15 100644 --- a/cpp/src/qpid/cluster/DumpClient.cpp +++ b/cpp/src/qpid/cluster/DumpClient.cpp @@ -168,6 +168,10 @@ void DumpClient::dumpConnection(const boost::intrusive_ptr& dumpConn QPID_LOG(debug, donor.getId() << " dumped connection " << *dumpConnection); } +// FIXME aconway 2008-09-26: REMOVE +void foo(broker::SemanticState::ConsumerImpl*) {} + + void DumpClient::dumpSession(broker::SessionHandler& sh) { QPID_LOG(debug, donor.getId() << " dumping session " << &sh.getConnection() << "[" << sh.getChannel() << "] = " << sh.getSession()->getId()); @@ -187,7 +191,8 @@ void DumpClient::dumpSession(broker::SessionHandler& sh) { // Re-create session state on remote connection. broker::SessionState* ss = sh.getSession(); - ss->eachConsumer(boost::bind(&DumpClient::dumpConsumer, this, _1)); + // For reasons unknown, boost::bind does not work here with boost 1.33. + ss->eachConsumer(std::bind1st(std::mem_fun(&DumpClient::dumpConsumer),this)); // FIXME aconway 2008-09-19: remaining session state. -- cgit v1.2.1