[LLDB] Migrate llvm::make_unique to std::make_unique
Now that we've moved to C++14, we no longer need the llvm::make_unique implementation from STLExtras.h. This patch is a mechanical replacement of (hopefully) all the llvm::make_unique instances across the monorepo. Differential revision: https://reviews.llvm.org/D66259 llvm-svn: 368933
This commit is contained in:
@@ -659,7 +659,7 @@ NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) {
|
||||
if (m_threads.empty())
|
||||
SetCurrentThreadID(thread_id);
|
||||
|
||||
m_threads.push_back(llvm::make_unique<NativeThreadNetBSD>(*this, thread_id));
|
||||
m_threads.push_back(std::make_unique<NativeThreadNetBSD>(*this, thread_id));
|
||||
return static_cast<NativeThreadNetBSD &>(*m_threads.back());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user