summaryrefslogtreecommitdiff
path: root/qpid/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
commitffddafdcc06aa6bf7e7f8dd87deec12a55e4930f (patch)
tree2ae051a8911856020a219a93138b3a5b57953fd7 /qpid/cpp/src
parent06a40144d0bd79053430faf3017bfa51ddaf9958 (diff)
downloadqpid-python-ffddafdcc06aa6bf7e7f8dd87deec12a55e4930f.tar.gz
cluster/Numbering.h: Removed unused and incorrect function contains()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1036214 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/cluster/Numbering.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Numbering.h b/qpid/cpp/src/qpid/cluster/Numbering.h
index 2d2d931384..99e152c212 100644
--- a/qpid/cpp/src/qpid/cluster/Numbering.h
+++ b/qpid/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;