[Lldb-commits] [PATCH] D12187: [NativeProcessLinux] Reduce the number of casts
Oleksiy Vyalov via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 20 09:28:57 PDT 2015
ovyalov accepted this revision.
ovyalov added a comment.
LGTM
================
Comment at: source/Plugins/Process/Linux/NativeProcessLinux.cpp:2834
@@ -2843,3 +2833,3 @@
- NativeThreadProtocolSP thread_sp (new NativeThreadLinux (this, thread_id));
+ NativeThreadLinuxSP thread_sp (new NativeThreadLinux(this, thread_id));
m_threads.push_back (thread_sp);
----------------
You may use std::make_shared
http://reviews.llvm.org/D12187
More information about the lldb-commits
mailing list