diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-04 00:12:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-04 00:12:12 +0000 |
commit | 7235928b45e6a353f6fcca8b9a40e83ab3420fb0 (patch) | |
tree | 053c0e02d4de86990a6f471a09c58090924629aa /include | |
parent | edca3c5a1ecdbaa4617130e6a7f6c5370b5322fc (diff) | |
download | llvm-7235928b45e6a353f6fcca8b9a40e83ab3420fb0.tar.gz llvm-7235928b45e6a353f6fcca8b9a40e83ab3420fb0.tar.bz2 llvm-7235928b45e6a353f6fcca8b9a40e83ab3420fb0.tar.xz |
Various bugfixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/SmallSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SmallSet.h b/include/llvm/ADT/SmallSet.h index 64eb5814ab..30e8ee544f 100644 --- a/include/llvm/ADT/SmallSet.h +++ b/include/llvm/ADT/SmallSet.h @@ -78,7 +78,7 @@ public: bool erase(const T &V) { if (!isSmall()) - return Set.erase(V).second; + return Set.erase(V); for (mutable_iterator I = Vector.begin(), E = Vector.end(); I != E; ++I) if (*I == V) { Vector.erase(I); |