projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve documentation.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
SmallSet.h
diff --git
a/include/llvm/ADT/SmallSet.h
b/include/llvm/ADT/SmallSet.h
index 64eb5814ab93c7603c45e34184acaacc31ce0389..30e8ee544fea3a6cb8c253ad0b126725f30f7df7 100644
(file)
--- 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);