[lld] r233058 - [Mips] Do not use inheriting constructor due build problem on Windows

Simon Atanasyan simon at atanasyan.com
Tue Mar 24 03:25:22 PDT 2015


Author: atanasyan
Date: Tue Mar 24 05:25:21 2015
New Revision: 233058

URL: http://llvm.org/viewvc/llvm-project?rev=233058&view=rev
Log:
[Mips] Do not use inheriting constructor due build problem on Windows

No functional changes.

Modified:
    lld/trunk/lib/ReaderWriter/ELF/Mips/MipsSectionChunks.h

Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsSectionChunks.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsSectionChunks.h?rev=233058&r1=233057&r2=233058&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsSectionChunks.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsSectionChunks.h Tue Mar 24 05:25:21 2015
@@ -139,7 +139,9 @@ template <class ELFT> class MipsRelocati
       ELFT::Is64Bits && ELFT::TargetEndianness == llvm::support::little;
 
 public:
-  using RelocationTable<ELFT>::RelocationTable;
+  MipsRelocationTable(const ELFLinkingContext &context, StringRef str,
+                      int32_t order)
+      : RelocationTable<ELFT>(context, str, order) {}
 
 protected:
   void writeRela(ELFWriter *writer, Elf_Rela &r, const DefinedAtom &atom,





More information about the llvm-commits mailing list