Fix typename issues.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 9 Jul 2015 00:46:24 +0000 (00:46 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 9 Jul 2015 00:46:24 +0000 (00:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241768 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/ELF.h

index 99d8deecc6cb3e8d33d5e8373efb0729f434f8cb..068fc32f3a2de5fafd26f0f1903bc9c9974fe921 100644 (file)
@@ -724,11 +724,11 @@ ELFFile<ELFT>::ELFFile(StringRef Object, std::error_code &EC)
 template <class ELFT>
 void ELFFile<ELFT>::scanDynamicTable() {
   // Build load-address to file-offset map.
-  typedef typename IntervalMap<
+  typedef IntervalMap<
       uintX_t, uintptr_t,
       IntervalMapImpl::NodeSizer<uintX_t, uintptr_t>::LeafSize,
       IntervalMapHalfOpenInfo<uintX_t>> LoadMapT;
-  LoadMapT::Allocator Alloc;
+  typename LoadMapT::Allocator Alloc;
   LoadMapT LoadMap(Alloc);
 
   for (Elf_Phdr_Iter PhdrI = program_header_begin(),