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