summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/SmallVector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h
index 991a3991d40..05f935ea733 100644
--- a/llvm/include/llvm/ADT/SmallVector.h
+++ b/llvm/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();
OpenPOWER on IntegriCloud