diff options
| author | Fangrui Song <i@maskray.me> | 2023-01-04 22:05:40 -0800 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2023-01-04 22:05:40 -0800 |
| commit | 4215a84559bb872363eaa4ac724be8ef86c2e683 (patch) | |
| tree | 46b08c115e865c8c639d3e8fe929ccbe30b723f6 /lldb/source/Target/Thread.cpp | |
| parent | 665e47777df17db406c698d57b4f3c28d67c432e (diff) | |
[lldb] Remove unneeded .get() NFC
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
| -rw-r--r-- | lldb/source/Target/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 5b4c5db2d928..10bdb5154061 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -1084,7 +1084,7 @@ ThreadPlanStack &Thread::GetPlans() const { // queries GetDescription makes, and only assert if you try to run the thread. if (!m_null_plan_stack_up) m_null_plan_stack_up = std::make_unique<ThreadPlanStack>(*this, true); - return *(m_null_plan_stack_up.get()); + return *m_null_plan_stack_up; } void Thread::PushPlan(ThreadPlanSP thread_plan_sp) { |
