aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/SmallVector.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-16 09:09:54 +0000
committerChris Lattner <sabre@nondot.org>2009-12-16 09:09:54 +0000
commit2e376a87dee2d10c48908c43037f61b965cec496 (patch)
tree2355318d4804d2cc6fc52fe43dbe198a0520f989 /include/llvm/ADT/SmallVector.h
parentb3649db1022ef464687df135934c6e743e5c5cb8 (diff)
downloadexternal_llvm-2e376a87dee2d10c48908c43037f61b965cec496.zip
external_llvm-2e376a87dee2d10c48908c43037f61b965cec496.tar.gz
external_llvm-2e376a87dee2d10c48908c43037f61b965cec496.tar.bz2
Fix a missing this-> that clang++ notices.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/SmallVector.h')
-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 991a399..05f935e 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();