Fold the useful features of alist and alist_node into ilist, and
[oota-llvm.git] / include / llvm / ADT / SmallSet.h
index 64eb5814ab93c7603c45e34184acaacc31ce0389..51efad8e38c0999ca9c65f44b1f1c4dfdc2f1f5c 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by Chris Lattner and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -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);