summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/Broadcaster.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-11-11 17:52:38 +0100
committerPavel Labath <pavel@labath.sk>2019-11-11 17:55:49 +0100
commita14eb8f47d43c701651ad59f49167a614a8c9773 (patch)
tree9a5bd4d514ef9c0cf6ff6c9c768b28a016e9bd51 /lldb/source/Utility/Broadcaster.cpp
parent2da34a43c7ae9cb5dded89edfebc6b6df0ef173a (diff)
downloadbcm5719-llvm-a14eb8f47d43c701651ad59f49167a614a8c9773.tar.gz
bcm5719-llvm-a14eb8f47d43c701651ad59f49167a614a8c9773.zip
lldb: Fix some -Wdeprecated-copy warnings
gcc-9 started warning when a class defined a copy constructor without a copy assignment operator (or vice-versa). This fixes those warnings by deleting the other special member too (after verifying it doesn't do anything non-trivial).
Diffstat (limited to 'lldb/source/Utility/Broadcaster.cpp')
-rw-r--r--lldb/source/Utility/Broadcaster.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/source/Utility/Broadcaster.cpp b/lldb/source/Utility/Broadcaster.cpp
index 148fdf7ba5b..aeb72ce2685 100644
--- a/lldb/source/Utility/Broadcaster.cpp
+++ b/lldb/source/Utility/Broadcaster.cpp
@@ -318,9 +318,6 @@ bool BroadcastEventSpec::operator<(const BroadcastEventSpec &rhs) const {
return GetBroadcasterClass() < rhs.GetBroadcasterClass();
}
-BroadcastEventSpec &BroadcastEventSpec::
-operator=(const BroadcastEventSpec &rhs) = default;
-
BroadcasterManager::BroadcasterManager() : m_manager_mutex() {}
lldb::BroadcasterManagerSP BroadcasterManager::MakeBroadcasterManager() {
OpenPOWER on IntegriCloud