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/Utility/Status.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/Utility/Status.cpp')
| -rw-r--r-- | lldb/source/Utility/Status.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Utility/Status.cpp b/lldb/source/Utility/Status.cpp index 95e2b14272f..3d64fb810ab 100644 --- a/lldb/source/Utility/Status.cpp +++ b/lldb/source/Utility/Status.cpp @@ -47,8 +47,6 @@ Status::Status(std::error_code EC) : m_code(EC.value()), m_type(ErrorType::eErrorTypeGeneric), m_string(EC.message()) {} -Status::Status(const Status &rhs) = default; - Status::Status(const char *format, ...) : m_code(0), m_type(eErrorTypeInvalid), m_string() { va_list args; |

