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:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user