From d2387a076ab77ba708b00381904bbc971303a135 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 29 May 2008 12:47:52 +0000 Subject: Correct declarations to be the same as definitions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@661323 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Exchange.h | 2 +- cpp/src/qpid/broker/QueueRegistry.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/broker/Exchange.h b/cpp/src/qpid/broker/Exchange.h index 9b18129857..ccd74299f8 100644 --- a/cpp/src/qpid/broker/Exchange.h +++ b/cpp/src/qpid/broker/Exchange.h @@ -56,7 +56,7 @@ namespace qpid { const framing::FieldTable args; management::Binding::shared_ptr mgmtBinding; - Binding(const std::string& key, const Queue::shared_ptr queue, Exchange* parent = 0, + Binding(const std::string& key, Queue::shared_ptr queue, Exchange* parent = 0, framing::FieldTable args = framing::FieldTable ()); ~Binding (); management::ManagementObject::shared_ptr GetManagementObject () const; diff --git a/cpp/src/qpid/broker/QueueRegistry.h b/cpp/src/qpid/broker/QueueRegistry.h index 60da0619f4..f7be1c551a 100644 --- a/cpp/src/qpid/broker/QueueRegistry.h +++ b/cpp/src/qpid/broker/QueueRegistry.h @@ -48,7 +48,7 @@ class QueueRegistry{ * was created by this declare call false if it already existed. */ std::pair declare(const string& name, bool durable = false, bool autodelete = false, - const OwnershipToken* const owner = 0); + const OwnershipToken* owner = 0); /** * Destroy the named queue. -- cgit v1.2.1