Replace ABSL_FALLTHROUGH_INTENDED with c++17 attribute
the new spelling is more standard and more compact, in particular doesn't need extra include and thus dependency Bug: None Change-Id: Iaea69d2154e4d9eff2468514f5734cb3fe016ff8 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/245080 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35709}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
506e5d5d14
commit
46cc32d89f
@ -10,7 +10,6 @@
|
||||
|
||||
#import "voice_processing_audio_unit.h"
|
||||
|
||||
#include "absl/base/macros.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "system_wrappers/include/metrics.h"
|
||||
|
||||
@ -466,13 +465,11 @@ void VoiceProcessingAudioUnit::DisposeAudioUnit() {
|
||||
switch (state_) {
|
||||
case kStarted:
|
||||
Stop();
|
||||
// Fall through.
|
||||
ABSL_FALLTHROUGH_INTENDED;
|
||||
[[fallthrough]];
|
||||
case kInitialized:
|
||||
Uninitialize();
|
||||
break;
|
||||
case kUninitialized:
|
||||
ABSL_FALLTHROUGH_INTENDED;
|
||||
case kInitRequired:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user