Add 'template' keyword to disambiguate the use of a member template within a templated class. Hopefully this will please the buildbots.

llvm-svn: 83452
This commit is contained in:
Ted Kremenek 2009-10-07 06:20:14 +00:00
parent 7881ac97a5
commit 8c6066d021
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) {
NewCapacity = MinSize;
// Allocate the memory from the BumpPtrAllocator.
T *NewElts = C.getAllocator().Allocate<T>(NewCapacity);
T *NewElts = C.getAllocator().template Allocate<T>(NewCapacity);
// Copy the elements over.
if (llvm::is_class<T>::value) {