Update MCSymbolizer and its subclasses' constructors to reflect the fact that
[oota-llvm.git] / include / llvm / MC / MCObjectSymbolizer.h
index 099713d41e68bcba6a7bad681ae3412683e653ff..f75b7f58a141fd9fc842cbe0c31c1e351bfd9053 100644 (file)
@@ -41,7 +41,7 @@ protected:
   const object::RelocationRef *findRelocationAt(uint64_t Addr);
   const object::SectionRef *findSectionContaining(uint64_t Addr);
 
-  MCObjectSymbolizer(MCContext &Ctx, std::unique_ptr<MCRelocationInfo> &RelInfo,
+  MCObjectSymbolizer(MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo,
                      const object::ObjectFile *Obj);
 
 public:
@@ -65,7 +65,7 @@ public:
   /// \brief Create an object symbolizer for \p Obj.
   static MCObjectSymbolizer *
   createObjectSymbolizer(MCContext &Ctx,
-                         std::unique_ptr<MCRelocationInfo> &RelInfo,
+                         std::unique_ptr<MCRelocationInfo> RelInfo,
                          const object::ObjectFile *Obj);
 
 private: