diff options
author | Fangrui Song <maskray@google.com> | 2019-05-15 11:23:54 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-05-15 11:23:54 +0000 |
commit | 71a44224e537a515dca6adc4fdac1675480bdf66 (patch) | |
tree | c82c468b1c68922fff5a45371b9af5c6a8d7415d /lldb/source/Target/ThreadSpec.cpp | |
parent | 9de9b5e950761cfeac936af9e9e9b2182bb1fffb (diff) | |
download | bcm5719-llvm-71a44224e537a515dca6adc4fdac1675480bdf66.tar.gz bcm5719-llvm-71a44224e537a515dca6adc4fdac1675480bdf66.zip |
Delete unnecessary copy ctors/copy assignment operators
It's the simplest and gives the cleanest semantics.
llvm-svn: 360762
Diffstat (limited to 'lldb/source/Target/ThreadSpec.cpp')
-rw-r--r-- | lldb/source/Target/ThreadSpec.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/source/Target/ThreadSpec.cpp b/lldb/source/Target/ThreadSpec.cpp index 44418492650..1a733cb551e 100644 --- a/lldb/source/Target/ThreadSpec.cpp +++ b/lldb/source/Target/ThreadSpec.cpp @@ -21,18 +21,6 @@ ThreadSpec::ThreadSpec() : m_index(UINT32_MAX), m_tid(LLDB_INVALID_THREAD_ID), m_name(), m_queue_name() {} -ThreadSpec::ThreadSpec(const ThreadSpec &rhs) - : m_index(rhs.m_index), m_tid(rhs.m_tid), m_name(rhs.m_name), - m_queue_name(rhs.m_queue_name) {} - -const ThreadSpec &ThreadSpec::operator=(const ThreadSpec &rhs) { - m_index = rhs.m_index; - m_tid = rhs.m_tid; - m_name = rhs.m_name; - m_queue_name = rhs.m_queue_name; - return *this; -} - std::unique_ptr<ThreadSpec> ThreadSpec::CreateFromStructuredData( const StructuredData::Dictionary &spec_dict, Status &error) { uint32_t index = UINT32_MAX; |