From 0610a25a85a0a204c994331e1ab275f86010f9ad Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Fri, 9 Oct 2020 10:35:02 +0200 Subject: [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. --- lldb/source/Target/OperatingSystem.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lldb/source/Target/OperatingSystem.cpp') 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) -- cgit v1.2.3