Move ABSL_MUST_USE_RESULT at the beginning of the method decl.

Bug: chromium:1122891
Change-Id: Ieb1763bc659e93c38fab14ee90823e3b57872478
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/182921
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32016}
This commit is contained in:
Mirko Bonadei
2020-08-31 09:06:35 +02:00
committed by Commit Bot
parent 205b1f4237
commit 08b63641bd
2 changed files with 26 additions and 26 deletions

View File

@ -82,9 +82,9 @@ class PacketBuffer {
PacketBuffer(Clock* clock, size_t start_buffer_size, size_t max_buffer_size);
~PacketBuffer();
InsertResult InsertPacket(std::unique_ptr<Packet> packet) ABSL_MUST_USE_RESULT
ABSL_MUST_USE_RESULT InsertResult InsertPacket(std::unique_ptr<Packet> packet)
RTC_LOCKS_EXCLUDED(mutex_);
InsertResult InsertPadding(uint16_t seq_num) ABSL_MUST_USE_RESULT
ABSL_MUST_USE_RESULT InsertResult InsertPadding(uint16_t seq_num)
RTC_LOCKS_EXCLUDED(mutex_);
void ClearTo(uint16_t seq_num) RTC_LOCKS_EXCLUDED(mutex_);
void Clear() RTC_LOCKS_EXCLUDED(mutex_);