summaryrefslogtreecommitdiff
path: root/lldb/source/Target/Thread.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-01-04 22:05:40 -0800
committerFangrui Song <i@maskray.me>2023-01-04 22:05:40 -0800
commit4215a84559bb872363eaa4ac724be8ef86c2e683 (patch)
tree46b08c115e865c8c639d3e8fe929ccbe30b723f6 /lldb/source/Target/Thread.cpp
parent665e47777df17db406c698d57b4f3c28d67c432e (diff)
[lldb] Remove unneeded .get() NFC
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r--lldb/source/Target/Thread.cpp2
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) {