Skip to content

Commit 2b494df

Browse files
kazutakahiratakrishna2803
authored andcommitted
[lldb] Remove a redundant call to std::unique_ptr<T>::get (NFC) (llvm#151283)
1 parent 15ab820 commit 2b494df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Interpreter/ScriptInterpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ lldb::StreamSP ScriptInterpreter::GetOpaqueTypeFromSBStream(
119119
SymbolContext ScriptInterpreter::GetOpaqueTypeFromSBSymbolContext(
120120
const lldb::SBSymbolContext &sb_sym_ctx) const {
121121
if (sb_sym_ctx.m_opaque_up)
122-
return *sb_sym_ctx.m_opaque_up.get();
122+
return *sb_sym_ctx.m_opaque_up;
123123
return {};
124124
}
125125

0 commit comments

Comments
 (0)