Delete macros RTC_DISALLOW_ASSIGN and RTC_DISALLOW_IMPLICIT_CONSTRUCTORS
The former was unused, the latter is replaced with the explicit C++11
deletions. The related RTC_DISALLOW_COPY_AND_ASSIGN is left for now,
it is used in a lot more places.
Bug: None
Change-Id: I49503e7f2b9ff43c6285f8695833479bbc18c380
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185500
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32224}
diff --git a/modules/audio_processing/logging/apm_data_dumper.h b/modules/audio_processing/logging/apm_data_dumper.h
index 17a5c87..1824fdd 100644
--- a/modules/audio_processing/logging/apm_data_dumper.h
+++ b/modules/audio_processing/logging/apm_data_dumper.h
@@ -26,7 +26,6 @@
#include "common_audio/wav_file.h"
#include "rtc_base/checks.h"
#endif
-#include "rtc_base/constructor_magic.h"
// Check to verify that the define is properly set.
#if !defined(WEBRTC_APM_DEBUG_DUMP) || \
@@ -52,6 +51,10 @@
// instances of the code.
explicit ApmDataDumper(int instance_index);
+ ApmDataDumper() = delete;
+ ApmDataDumper(const ApmDataDumper&) = delete;
+ ApmDataDumper& operator=(const ApmDataDumper&) = delete;
+
~ApmDataDumper();
// Activates or deactivate the dumping functionality.
@@ -277,7 +280,6 @@
int num_channels,
WavFile::SampleFormat format);
#endif
- RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(ApmDataDumper);
};
} // namespace webrtc