Move FALLTHROUGH macro to a separate header, and give it an RTC_ prefix
Bug: chromium:805946 Change-Id: Ibb5dce9af27d0e48c9aee6b0a860b6f62b3c76a0 Reviewed-on: https://webrtc-review.googlesource.com/46145 Commit-Queue: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21889}
This commit is contained in:
@ -46,6 +46,7 @@
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/numerics/safe_conversions.h"
|
||||
#include "rtc_base/sanitizer.h"
|
||||
#include "rtc_base/system/fallthrough.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
#include "system_wrappers/include/field_trial.h"
|
||||
|
||||
@ -943,7 +944,7 @@ int NetEqImpl::GetAudioInternal(AudioFrame* audio_frame, bool* muted) {
|
||||
static_cast<uint32_t>(output_size_samples_));
|
||||
// Skipping break on purpose. Execution should move on into the
|
||||
// next case.
|
||||
FALLTHROUGH();
|
||||
RTC_FALLTHROUGH();
|
||||
}
|
||||
case kAudioRepetition: {
|
||||
// TODO(hlundin): Write test for this.
|
||||
|
||||
Reference in New Issue
Block a user