[llvm-commits] [llvm] r91536 - /llvm/trunk/include/llvm/ADT/SmallVector.h
Daniel Dunbar
daniel at zuster.org
Wed Dec 16 03:38:03 PST 2009
Author: ddunbar
Date: Wed Dec 16 05:38:03 2009
New Revision: 91536
URL: http://llvm.org/viewvc/llvm-project?rev=91536&view=rev
Log:
Fix one more missing this-> to placate that picky clang++.
Modified:
llvm/trunk/include/llvm/ADT/SmallVector.h
Modified: llvm/trunk/include/llvm/ADT/SmallVector.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/SmallVector.h?rev=91536&r1=91535&r2=91536&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/SmallVector.h (original)
+++ llvm/trunk/include/llvm/ADT/SmallVector.h Wed Dec 16 05:38:03 2009
@@ -218,7 +218,7 @@
if (!this->isSmall())
operator delete(this->begin());
- setEnd(NewElts+CurSize);
+ this->setEnd(NewElts+CurSize);
this->BeginX = NewElts;
this->CapacityX = this->begin()+NewCapacity;
}
More information about the llvm-commits
mailing list