From: Ted Kremenek Date: Wed, 7 Oct 2009 06:20:14 +0000 (+0000) Subject: Add 'template' keyword to disambiguate the use of a member template within a template... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0e75d6baf0dc6ba0a7d66726d9e3ba455db8639;p=clang Add 'template' keyword to disambiguate the use of a member template within a templated class. Hopefully this will please the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83452 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Support/BumpVector.h b/include/clang/Analysis/Support/BumpVector.h index d1c6d4ba4a..243332fec0 100644 --- a/include/clang/Analysis/Support/BumpVector.h +++ b/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) {