From 8c6066d0210367f3f6009e2b09ff46660f868e02 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 7 Oct 2009 06:20:14 +0000 Subject: [PATCH] Add 'template' keyword to disambiguate the use of a member template within a templated class. Hopefully this will please the buildbots. llvm-svn: 83452 --- clang/include/clang/Analysis/Support/BumpVector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/Analysis/Support/BumpVector.h b/clang/include/clang/Analysis/Support/BumpVector.h index d1c6d4ba4a08..243332fec0d5 100644 --- a/clang/include/clang/Analysis/Support/BumpVector.h +++ b/clang/include/clang/Analysis/Support/BumpVector.h @@ -176,7 +176,7 @@ void BumpVector::grow(BumpVectorContext &C, size_t MinSize) { NewCapacity = MinSize; // Allocate the memory from the BumpPtrAllocator. - T *NewElts = C.getAllocator().Allocate(NewCapacity); + T *NewElts = C.getAllocator().template Allocate(NewCapacity); // Copy the elements over. if (llvm::is_class::value) {