aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/SmallPtrSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/SmallPtrSet.cpp')
-rw-r--r--lib/Support/SmallPtrSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/SmallPtrSet.cpp b/lib/Support/SmallPtrSet.cpp
index 1eea7272e0..758a952ae4 100644
--- a/lib/Support/SmallPtrSet.cpp
+++ b/lib/Support/SmallPtrSet.cpp
@@ -56,7 +56,7 @@ bool SmallPtrSetImpl::erase(void *Ptr) {
// Clear the end element.
E[-1] = getEmptyMarker();
--NumElements;
- return false;
+ return true;
}
return false;