diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectBreakpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp index 62e46c5..72da81f 100644 --- a/lldb/source/Commands/CommandObjectBreakpoint.cpp +++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp @@ -130,10 +130,10 @@ public: m_bp_opts.SetThreadID(thread_id); } break; case 'T': - m_bp_opts.GetThreadSpec()->SetName(option_arg.str().c_str()); + m_bp_opts.GetThreadSpec()->SetName(option_arg.str()); break; case 'q': - m_bp_opts.GetThreadSpec()->SetQueueName(option_arg.str().c_str()); + m_bp_opts.GetThreadSpec()->SetQueueName(option_arg.str()); break; case 'x': { uint32_t thread_index = UINT32_MAX; |