Remove redundant call of std::unique_ptr::get.

Obj is an instance of std::unique_ptr, so *Obj.get() is the same as *Obj.

llvm-svn: 288996
This commit is contained in:
Rui Ueyama 2016-12-07 23:26:39 +00:00
parent 332e02a164
commit 9a97acc097

View File

@ -58,7 +58,7 @@ template <class ELFT> void elf::ObjectFile<ELFT>::initializeDwarfLine() {
"createObjectFile failed");
ObjectInfo ObjInfo;
DWARFContextInMemory Dwarf(*Obj.get(), &ObjInfo);
DWARFContextInMemory Dwarf(*Obj, &ObjInfo);
DwarfLine.reset(new DWARFDebugLine(&Dwarf.getLineSection().Relocs));
DataExtractor LineData(Dwarf.getLineSection().Data,
ELFT::TargetEndianness == support::little,