Add missing RTC_GUARDED_BY for ModuleRtpRtcpImpl::rtt_ms_

Bug: None
Change-Id: I7aef516e4310a7ff14a8bbc77c6edd488167d18d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/195338
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32711}
This commit is contained in:
Niels Möller
2020-11-26 16:19:56 +01:00
committed by Commit Bot
parent a3dd772e7a
commit cd982137df
2 changed files with 2 additions and 2 deletions

View File

@ -350,7 +350,7 @@ class ModuleRtpRtcpImpl : public RtpRtcp, public RTCPReceiver::ModuleRtpRtcp {
// The processed RTT from RtcpRttStats.
mutable Mutex mutex_rtt_;
int64_t rtt_ms_;
int64_t rtt_ms_ RTC_GUARDED_BY(mutex_rtt_);
};
} // namespace webrtc

View File

@ -319,7 +319,7 @@ class ModuleRtpRtcpImpl2 final : public RtpRtcpInterface,
// The processed RTT from RtcpRttStats.
mutable Mutex mutex_rtt_;
int64_t rtt_ms_;
int64_t rtt_ms_ RTC_GUARDED_BY(mutex_rtt_);
};
} // namespace webrtc