qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1666002 - in /qpid/branches/0.32/qpid/cpp/src/qpid: broker/amqp/Connection.cpp messaging/amqp/AddressHelper.cpp
Date Wed, 11 Mar 2015 20:38:53 GMT
Author: gsim
Date: Wed Mar 11 20:38:52 2015
New Revision: 1666002

URL: http://svn.apache.org/r1666002
Log:
QPID-6444: remove unused functions

Modified:
    qpid/branches/0.32/qpid/cpp/src/qpid/broker/amqp/Connection.cpp
    qpid/branches/0.32/qpid/cpp/src/qpid/messaging/amqp/AddressHelper.cpp

Modified: qpid/branches/0.32/qpid/cpp/src/qpid/broker/amqp/Connection.cpp
URL: http://svn.apache.org/viewvc/qpid/branches/0.32/qpid/cpp/src/qpid/broker/amqp/Connection.cpp?rev=1666002&r1=1666001&r2=1666002&view=diff
==============================================================================
--- qpid/branches/0.32/qpid/cpp/src/qpid/broker/amqp/Connection.cpp (original)
+++ qpid/branches/0.32/qpid/cpp/src/qpid/broker/amqp/Connection.cpp Wed Mar 11 20:38:52 2015
@@ -453,16 +453,6 @@ void Connection::process()
     }
 #endif  // !HAVE_PROTON_EVENTS
 }
-namespace {
-std::string convert(pn_delivery_tag_t in)
-{
-#ifdef NO_PROTON_DELIVERY_TAG_T
-    return std::string(in.start, in.size);
-#else
-    return std::string(in.bytes, in.size);
-#endif
-}
-}
 void Connection::processDeliveries()
 {
 #ifdef HAVE_PROTON_EVENTS

Modified: qpid/branches/0.32/qpid/cpp/src/qpid/messaging/amqp/AddressHelper.cpp
URL: http://svn.apache.org/viewvc/qpid/branches/0.32/qpid/cpp/src/qpid/messaging/amqp/AddressHelper.cpp?rev=1666002&r1=1666001&r2=1666002&view=diff
==============================================================================
--- qpid/branches/0.32/qpid/cpp/src/qpid/messaging/amqp/AddressHelper.cpp (original)
+++ qpid/branches/0.32/qpid/cpp/src/qpid/messaging/amqp/AddressHelper.cpp Wed Mar 11 20:38:52
2015
@@ -138,13 +138,6 @@ uint64_t getFilterDescriptor(const std::
 {
     return hasWildcards(key) ? qpid::amqp::filters::LEGACY_TOPIC_FILTER_CODE : qpid::amqp::filters::LEGACY_DIRECT_FILTER_CODE;
 }
-bool contains(const Variant::List& list, const std::string& item)
-{
-    for (Variant::List::const_iterator i = list.begin(); i != list.end(); ++i) {
-        if (*i == item) return true;
-    }
-    return false;
-}
 
 bool test(const Variant::Map& options, const std::string& name)
 {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message