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);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to