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 a809679d57..cfe497c788 100644
--- a/cpp/src/qpid/broker/Vhost.cpp
+++ b/cpp/src/qpid/broker/Vhost.cpp
@@ -32,7 +32,7 @@ Vhost::Vhost (management::Manageable* parentBroker)
if (agent.get () != 0)
{
mgmtObject = management::Vhost::shared_ptr
- (new management::Vhost (this, parentBroker, "/"));
+ (new management::Vhost (agent.get(), this, parentBroker, "/"));
agent->addObject (mgmtObject, 3, 1);
}
}