diff options
author | Nick Kledzik <kledzik@apple.com> | 2014-01-28 19:33:09 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2014-01-28 19:33:09 +0000 |
commit | 79877dc1502d7da819f381dd8bc2d7e0d0ab0c2d (patch) | |
tree | 86fc160e4b8c7337047b5b1c6cc166a0c6a5a18d | |
parent | 4ed4bd0feec4dbf23282e6fbbb360c60b3a98052 (diff) | |
download | llvm-79877dc1502d7da819f381dd8bc2d7e0d0ab0c2d.tar.gz llvm-79877dc1502d7da819f381dd8bc2d7e0d0ab0c2d.tar.bz2 llvm-79877dc1502d7da819f381dd8bc2d7e0d0ab0c2d.tar.xz |
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
-rw-r--r-- | include/llvm/Support/Allocator.h | 2 |
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)); |