summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-11-17 20:39:24 +0000
committerAlan Conway <aconway@apache.org>2010-11-17 20:39:24 +0000
commite9a62aa1e5b003c7b71a1b72bdbcf35f0f5a38f8 (patch)
tree169572916d9d475f42ad5cbd1aa34450ebf53a1f /cpp/src
parent0eb96403ce2c0753697fa952aff4007d0d3f6170 (diff)
downloadqpid-python-e9a62aa1e5b003c7b71a1b72bdbcf35f0f5a38f8.tar.gz
cluster/Numbering.h: Removed unused and incorrect function contains()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036214 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/cluster/Numbering.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Numbering.h b/cpp/src/qpid/cluster/Numbering.h
index 2d2d931384..99e152c212 100644
--- a/cpp/src/qpid/cluster/Numbering.h
+++ b/cpp/src/qpid/cluster/Numbering.h
@@ -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;