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
@ -116,7 +116,7 @@ void RtpSeqNumOnlyRefFinder::RetryStashedFrames(
|
||||
case kHandOff:
|
||||
complete_frame = true;
|
||||
res.push_back(std::move(*frame_it));
|
||||
ABSL_FALLTHROUGH_INTENDED;
|
||||
[[fallthrough]];
|
||||
case kDrop:
|
||||
frame_it = stashed_frames_.erase(frame_it);
|
||||
}
|
||||
|
||||
@ -218,7 +218,7 @@ void RtpVp8RefFinder::RetryStashedFrames(
|
||||
case kHandOff:
|
||||
complete_frame = true;
|
||||
res.push_back(std::move(*frame_it));
|
||||
ABSL_FALLTHROUGH_INTENDED;
|
||||
[[fallthrough]];
|
||||
case kDrop:
|
||||
frame_it = stashed_frames_.erase(frame_it);
|
||||
}
|
||||
|
||||
@ -314,7 +314,7 @@ void RtpVp9RefFinder::RetryStashedFrames(
|
||||
case kHandOff:
|
||||
complete_frame = true;
|
||||
res.push_back(std::move(*frame_it));
|
||||
ABSL_FALLTHROUGH_INTENDED;
|
||||
[[fallthrough]];
|
||||
case kDrop:
|
||||
frame_it = stashed_frames_.erase(frame_it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user