Author: aconway
Date: Wed Apr 23 14:45:13 2014
New Revision: 1589431
URL: http://svn.apache.org/r1589431
Log:
QPID-5718: Dead code in the HA codebase
Removed: std::ostream& operator<<(std::ostream& o, const QueueSetPrinter& qp)
Already gone: void collectQueueReplicators(const boost::shared_ptr<Exchange>&
ex, set<boost::shared_ptr<QueueReplicator> >& collect)
Modified:
qpid/trunk/qpid/cpp/src/qpid/ha/RemoteBackup.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/ha/RemoteBackup.cpp
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/ha/RemoteBackup.cpp?rev=1589431&r1=1589430&r2=1589431&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/ha/RemoteBackup.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/ha/RemoteBackup.cpp Wed Apr 23 14:45:13 2014
@@ -84,21 +84,6 @@ RemoteBackup::GuardPtr RemoteBackup::gua
return guard;
}
-namespace {
-typedef std::set<boost::shared_ptr<broker::Queue> > QS;
-struct QueueSetPrinter {
- const QS& qs;
- std::string prefix;
- QueueSetPrinter(const std::string& p, const QS& q) : qs(q), prefix(p) {}
-};
-std::ostream& operator<<(std::ostream& o, const QueueSetPrinter& qp) {
- if (!qp.qs.empty()) o << qp.prefix;
- for (QS::const_iterator i = qp.qs.begin(); i != qp.qs.end(); ++i)
- o << (*i)->getName() << " ";
- return o;
-}
-}
-
void RemoteBackup::ready(const QueuePtr& q) {
catchupQueues.erase(q);
if (catchupQueues.size()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]