aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/RecyclingAllocator.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-05 13:30:28 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-05 13:30:28 +0000
commitfbe67f85b2e14bf0b9a4c2b6306ccbcefdb8956b (patch)
treeb43da1ed2813af735a9e21ded70a2cbcd70d971e /include/llvm/Support/RecyclingAllocator.h
parente4bddf1837da3c2096baebcc0f5968c0e213a4d0 (diff)
downloadexternal_llvm-fbe67f85b2e14bf0b9a4c2b6306ccbcefdb8956b.tar.gz
external_llvm-fbe67f85b2e14bf0b9a4c2b6306ccbcefdb8956b.tar.bz2
external_llvm-fbe67f85b2e14bf0b9a4c2b6306ccbcefdb8956b.zip
Make a few headers standalone. Plus, add a missing "template" keyword
that Clang diagnoses but GCC does not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/RecyclingAllocator.h')
-rw-r--r--include/llvm/Support/RecyclingAllocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/RecyclingAllocator.h b/include/llvm/Support/RecyclingAllocator.h
index 8e957f1b26..609193ffd7 100644
--- a/include/llvm/Support/RecyclingAllocator.h
+++ b/include/llvm/Support/RecyclingAllocator.h
@@ -41,7 +41,7 @@ public:
/// SubClass. The storage may be either newly allocated or recycled.
///
template<class SubClass>
- SubClass *Allocate() { return Base.Allocate<SubClass>(Allocator); }
+ SubClass *Allocate() { return Base.template Allocate<SubClass>(Allocator); }
T *Allocate() { return Base.Allocate(Allocator); }