summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Vhost.cpp
diff options
context:
space:
mode:
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 537d2abf0e..06a8c8eca3 100644
--- a/cpp/src/qpid/broker/Vhost.cpp
+++ b/cpp/src/qpid/broker/Vhost.cpp
@@ -33,7 +33,7 @@ Vhost::Vhost (management::Manageable* parentBroker)
{
mgmtObject = management::Vhost::shared_ptr
(new management::Vhost (this, parentBroker, "/"));
- agent->addObject (mgmtObject);
+ agent->addObject (mgmtObject, 2, 0);
}
}
}