diff options
Diffstat (limited to 'cpp/src/qpid/xml/XmlExchangePlugin.cpp')
| -rw-r--r-- | cpp/src/qpid/xml/XmlExchangePlugin.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/qpid/xml/XmlExchangePlugin.cpp b/cpp/src/qpid/xml/XmlExchangePlugin.cpp index d0ec9cb959..4bd3ed741e 100644 --- a/cpp/src/qpid/xml/XmlExchangePlugin.cpp +++ b/cpp/src/qpid/xml/XmlExchangePlugin.cpp @@ -31,13 +31,15 @@ namespace qpid { namespace broker { // ACL uses the acl namespace here - should I? using namespace std; +class Broker; Exchange::shared_ptr create(const std::string& name, bool durable, const framing::FieldTable& args, - management::Manageable* parent) + management::Manageable* parent, + Broker* broker) { - Exchange::shared_ptr e(new XmlExchange(name, durable, args, parent)); - return e; + Exchange::shared_ptr e(new XmlExchange(name, durable, args, parent, broker)); + return e; } |
