[clang-tidy] Apply modernize-use-override fixes.

This CL applies clang-tidy's modernize-use-override [1] to the
WebRTC codebase.

All changes in this CL are automatically generated by both clang-tidy
and 'git cl format'.

[1] - https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html

Bug: webrtc:10252
Change-Id: I2bb8bd90fa8adb90aa33861fe7c788132a819a20
Reviewed-on: https://webrtc-review.googlesource.com/c/120412
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26461}
This commit is contained in:
Mirko Bonadei
2019-01-29 22:53:28 +01:00
committed by Commit Bot
parent 6957abeff1
commit fe055c197a
13 changed files with 43 additions and 43 deletions

View File

@ -70,14 +70,14 @@ class SimulcastTestFixtureImpl::TestEncodedImageCallback
memset(layer_sync_, false, sizeof(layer_sync_));
}
~TestEncodedImageCallback() {
~TestEncodedImageCallback() override {
delete[] encoded_key_frame_.data();
delete[] encoded_frame_.data();
}
virtual Result OnEncodedImage(const EncodedImage& encoded_image,
const CodecSpecificInfo* codec_specific_info,
const RTPFragmentationHeader* fragmentation) {
Result OnEncodedImage(const EncodedImage& encoded_image,
const CodecSpecificInfo* codec_specific_info,
const RTPFragmentationHeader* fragmentation) override {
bool is_vp8 = (codec_specific_info->codecType == kVideoCodecVP8);
// Only store the base layer.
if (encoded_image.SpatialIndex().value_or(0) == 0) {