Remove clang:find_bad_constructs suppression from call:call.
This CL removes //build/config/clang:find_bad_constructs from the
suppressed_configs list, which means that clang:find_bad_constructs
is now enabled on these translation units.
Bug: webrtc:9251, webrtc:163
Change-Id: I74cb86c29cebb69dd22083718f1446f18f705cd4
Reviewed-on: https://webrtc-review.googlesource.com/95883
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24483}
diff --git a/video/quality_threshold.cc b/video/quality_threshold.cc
index 2b29992..b681ce4 100644
--- a/video/quality_threshold.cc
+++ b/video/quality_threshold.cc
@@ -36,6 +36,8 @@
RTC_CHECK_LT(low_threshold, high_threshold);
}
+QualityThreshold::~QualityThreshold() = default;
+
void QualityThreshold::AddMeasurement(int measurement) {
int prev_val = until_full_ > 0 ? 0 : buffer_[next_index_];
buffer_[next_index_] = measurement;