aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/SmallVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/SmallVector.h b/include/llvm/ADT/SmallVector.h
index 991a3991d4..05f935ea73 100644
--- a/include/llvm/ADT/SmallVector.h
+++ b/include/llvm/ADT/SmallVector.h
@@ -314,7 +314,7 @@ public:
if (this->EndX < this->CapacityX) {
Retry:
new (this->end()) T(Elt);
- setEnd(this->end()+1);
+ this->setEnd(this->end()+1);
return;
}
this->grow();