summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Vhost.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-04-23 21:00:10 +0000
committerTed Ross <tross@apache.org>2010-04-23 21:00:10 +0000
commitce41c9d094746451b674bebe5edb4e61116e77c2 (patch)
tree7083ac3b3ef29835053e128047b1baa671cec2c2 /cpp/src/qpid/broker/Vhost.cpp
parent74b68e0be99c74b8f59ef97a3a9162d5a8dfe257 (diff)
downloadqpid-python-ce41c9d094746451b674bebe5edb4e61116e77c2.tar.gz
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
Diffstat (limited to 'cpp/src/qpid/broker/Vhost.cpp')
-rw-r--r--cpp/src/qpid/broker/Vhost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Vhost.cpp b/cpp/src/qpid/broker/Vhost.cpp
index df37cba255..a9ca3b42ab 100644
--- a/cpp/src/qpid/broker/Vhost.cpp
+++ b/cpp/src/qpid/broker/Vhost.cpp
@@ -38,7 +38,7 @@ Vhost::Vhost (qpid::management::Manageable* parentBroker, Broker* broker) : mgmt
if (agent != 0)
{
mgmtObject = new _qmf::Vhost(agent, this, parentBroker, "/");
- agent->addObject (mgmtObject, 0x1000000000000003LL);
+ agent->addObject(mgmtObject, 0, true);
}
}
}