fix templates to work with pre c++11
authorNick Kledzik <kledzik@apple.com>
Tue, 28 Jan 2014 19:33:09 +0000 (19:33 +0000)
committerNick Kledzik <kledzik@apple.com>
Tue, 28 Jan 2014 19:33:09 +0000 (19:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200333 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Allocator.h

index 9f7611be02343572682d36268e570fecaa9c470d..d259415bc3996ae9abe2beada915fa927a478c88 100644 (file)
@@ -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));