From 7235928b45e6a353f6fcca8b9a40e83ab3420fb0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 4 Feb 2007 00:12:12 +0000 Subject: [PATCH] Various bugfixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33848 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/SmallSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ADT/SmallSet.h b/include/llvm/ADT/SmallSet.h index 64eb5814ab9..30e8ee544fe 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);