]> granicus.if.org Git - clang/commitdiff
Add 'template' keyword to disambiguate the use of a member template within a template...
authorTed Kremenek <kremenek@apple.com>
Wed, 7 Oct 2009 06:20:14 +0000 (06:20 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 7 Oct 2009 06:20:14 +0000 (06:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83452 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Support/BumpVector.h

index d1c6d4ba4a08e9ba5195c1f52a104de3022b4c83..243332fec0d5c8a53c9ac3344b63ec92757b16bc 100644 (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) {