diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-19 01:42:34 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-19 01:42:34 +0000 |
commit | 764f09c92790118ceb985290693f6883412d567a (patch) | |
tree | dad80466312e8312f60404fae92797025c02a9c4 /include/llvm/ADT | |
parent | 43e3a62bc33eb3c0ba666041738247853fd0a4b7 (diff) | |
download | external_llvm-764f09c92790118ceb985290693f6883412d567a.zip external_llvm-764f09c92790118ceb985290693f6883412d567a.tar.gz external_llvm-764f09c92790118ceb985290693f6883412d567a.tar.bz2 |
Remove redundant qualifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/ImmutableSet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/ImmutableSet.h b/include/llvm/ADT/ImmutableSet.h index ef048a9..7eadeed 100644 --- a/include/llvm/ADT/ImmutableSet.h +++ b/include/llvm/ADT/ImmutableSet.h @@ -166,7 +166,7 @@ public: /// contains - Returns true if this tree contains a subtree (node) that /// has an data element that matches the specified key. Complexity /// is logarithmic in the size of the tree. - bool contains(const key_type_ref K) { return (bool) find(K); } + bool contains(key_type_ref K) { return (bool) find(K); } /// foreach - A member template the accepts invokes operator() on a functor /// object (specifed by Callback) for every node/subtree in the tree. @@ -992,7 +992,7 @@ public: friend class Factory; /// contains - Returns true if the set contains the specified value. - bool contains(const value_type_ref V) const { + bool contains(value_type_ref V) const { return Root ? Root->contains(V) : false; } |