You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2010/11/17 21:39:24 UTC

svn commit: r1036214 - /qpid/trunk/qpid/cpp/src/qpid/cluster/Numbering.h

Author: aconway
Date: Wed Nov 17 20:39:24 2010
New Revision: 1036214

URL: http://svn.apache.org/viewvc?rev=1036214&view=rev
Log:
cluster/Numbering.h: Removed unused and incorrect function contains()

Modified:
    qpid/trunk/qpid/cpp/src/qpid/cluster/Numbering.h

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/Numbering.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/Numbering.h?rev=1036214&r1=1036213&r2=1036214&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/Numbering.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/Numbering.h Wed Nov 17 20:39:24 2010
@@ -57,8 +57,6 @@ template <class T> class Numbering
         return (i != byObject.end()) ? i->second : size();
     }
 
-    bool contains(const T& t) const { return (*this)[t] == size(); }
-
   private:
     typedef std::map<T, size_t> Map;
     Map byObject;



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org