diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp b/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp index c3907d6e55dd..5765ce1f0620 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp @@ -373,22 +373,16 @@ std::error_code RelocationHandler::applyRelocation( } // end anon namespace -namespace lld { -namespace elf { - template <> std::unique_ptr -createMipsRelocationHandler(MipsLinkingContext &ctx) { +lld::elf::createMipsRelocationHandler(MipsLinkingContext &ctx) { return std::unique_ptr( new RelocationHandler(ctx)); } template <> std::unique_ptr -createMipsRelocationHandler(MipsLinkingContext &ctx) { +lld::elf::createMipsRelocationHandler(MipsLinkingContext &ctx) { return std::unique_ptr( new RelocationHandler(ctx)); } - -} // elf -} // lld