forked from OSchip/llvm-project
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:
parent
7881ac97a5
commit
8c6066d021
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue