[llvm-commits] CVS: llvm/include/llvm/ADT/SmallSet.h
Chris Lattner
sabre at nondot.org
Sat Feb 3 16:12:28 PST 2007
Changes in directory llvm/include/llvm/ADT:
SmallSet.h updated: 1.6 -> 1.7
---
Log message:
Various bugfixes
---
Diffs of the changes: (+1 -1)
SmallSet.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/SmallSet.h
diff -u llvm/include/llvm/ADT/SmallSet.h:1.6 llvm/include/llvm/ADT/SmallSet.h:1.7
--- llvm/include/llvm/ADT/SmallSet.h:1.6 Sat Jan 27 02:20:15 2007
+++ llvm/include/llvm/ADT/SmallSet.h Sat Feb 3 18:12:12 2007
@@ -78,7 +78,7 @@
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);
More information about the llvm-commits
mailing list