Author: gsim
Date: Thu May 29 05:47:52 2008
New Revision: 661323
URL: http://svn.apache.org/viewvc?rev=661323&view=rev
Log:
Correct declarations to be the same as definitions.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.h
incubator/qpid/trunk/qpid/cpp/src/qpid/broker/QueueRegistry.h
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.h
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.h?rev=661323&r1=661322&r2=661323&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/Exchange.h Thu May 29
05:47:52 2008
@@ -56,7 +56,7 @@
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;
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/QueueRegistry.h
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/QueueRegistry.h?rev=661323&r1=661322&r2=661323&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/QueueRegistry.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/QueueRegistry.h Thu May 29
05:47:52 2008
@@ -48,7 +48,7 @@
* was created by this declare call false if it already existed.
*/
std::pair<Queue::shared_ptr, bool> declare(const string& name, bool
durable = false, bool autodelete = false,
- const OwnershipToken* const
owner = 0);
+ const OwnershipToken* owner =
0);
/**
* Destroy the named queue.