From 79877dc1502d7da819f381dd8bc2d7e0d0ab0c2d Mon Sep 17 00:00:00 2001 From: Nick Kledzik Date: Tue, 28 Jan 2014 19:33:09 +0000 Subject: fix templates to work with pre c++11 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200333 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Allocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 by allocating copy in BumpPtrAllocator. template - typename enable_if, ArrayRef>::type + typename enable_if, ArrayRef >::type allocateCopy(ArrayRef Src) { size_t Length = Src.size(); T *P = allocateCopy(Src.data(), Length*sizeof(T)); -- cgit v1.2.3