summaryrefslogtreecommitdiff
path: root/lldb/source/Target/OperatingSystem.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2020-10-09 10:35:02 +0200
committerPavel Labath <pavel@labath.sk>2020-10-09 10:37:09 +0200
commit0610a25a85a0a204c994331e1ab275f86010f9ad (patch)
treed7208a00e016690d9962b639d2f1622278779b81 /lldb/source/Target/OperatingSystem.cpp
parentdd3014f3dc7c1a42614be0488b0ab79bdcce995c (diff)
[lldb] Delete copy operations on PluginInterface class
This is a polymorphic class, copying it is a bad idea. This was not a problem because most classes inheriting from it were deleting their copy operations themselves. However, this enables us to delete those explicit deletions, and ensure noone forgets to add them in the future.
Diffstat (limited to 'lldb/source/Target/OperatingSystem.cpp')
-rw-r--r--lldb/source/Target/OperatingSystem.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Target/OperatingSystem.cpp b/lldb/source/Target/OperatingSystem.cpp
index ddffab4553cc..033a806460da 100644
--- a/lldb/source/Target/OperatingSystem.cpp
+++ b/lldb/source/Target/OperatingSystem.cpp
@@ -44,8 +44,6 @@ OperatingSystem *OperatingSystem::FindPlugin(Process *process,
OperatingSystem::OperatingSystem(Process *process) : m_process(process) {}
-OperatingSystem::~OperatingSystem() = default;
-
bool OperatingSystem::IsOperatingSystemPluginThread(
const lldb::ThreadSP &thread_sp) {
if (thread_sp)