Skip to content

Commit d4d37d8

Browse files
[BOLT] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#145211)
1 parent 2f9c97c commit d4d37d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/unittests/Profile/PerfSpeEvents.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct PerfSpeEventsTestHelper : public testing::Test {
6565
BC = cantFail(BinaryContext::createBinaryContext(
6666
ObjFile->makeTriple(), std::make_shared<orc::SymbolStringPool>(),
6767
ObjFile->getFileName(), nullptr, /*IsPIC*/ false,
68-
DWARFContext::create(*ObjFile.get()), {llvm::outs(), llvm::errs()}));
68+
DWARFContext::create(*ObjFile), {llvm::outs(), llvm::errs()}));
6969
ASSERT_FALSE(!BC);
7070
}
7171

0 commit comments

Comments
 (0)