From ce41c9d094746451b674bebe5edb4e61116e77c2 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 23 Apr 2010 21:00:10 +0000 Subject: Code cleanup - Removed IdAllocator (it's no longer needed) - Cleaned up the calls to ManagementAgent::addObject to handle durable objects - Removed the deferred call to addObject for durable objects - Removed unneeded calls to self._checkClosed() in qmf.console.Agent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937516 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SessionState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/broker/SessionState.cpp') diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp index 4d5fe14690..ddf68cad2f 100644 --- a/cpp/src/qpid/broker/SessionState.cpp +++ b/cpp/src/qpid/broker/SessionState.cpp @@ -81,7 +81,7 @@ SessionState::SessionState( mgmtObject->set_detachedLifespan (0); mgmtObject->clr_expireTime(); if (rateFlowcontrol) mgmtObject->set_maxClientRate(maxRate); - agent->addObject (mgmtObject, agent->allocateId(this)); + agent->addObject(mgmtObject); } } attach(h); -- cgit v1.2.1