summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Allocator.h')
-rw-r--r--include/llvm/Support/Allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Allocator.h b/include/llvm/Support/Allocator.h
index 9f7611be02..d259415bc3 100644
--- a/include/llvm/Support/Allocator.h
+++ b/include/llvm/Support/Allocator.h
@@ -208,7 +208,7 @@ public:
/// Copy a ArrayRef<T> by allocating copy in BumpPtrAllocator.
template <typename T>
- typename enable_if<isPodLike<T>, ArrayRef<T>>::type
+ typename enable_if<isPodLike<T>, ArrayRef<T> >::type
allocateCopy(ArrayRef<T> Src) {
size_t Length = Src.size();
T *P = allocateCopy(Src.data(), Length*sizeof(T));