Remove mutable from rtc::CriticalSection members.
rtc::CriticalSection is now lockable from const methods and no longer need to remain mutable. BUG= R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1613643004 Cr-Commit-Position: refs/heads/master@{#11367}
This commit is contained in:
@ -45,7 +45,7 @@ class BufferQueue {
|
||||
private:
|
||||
size_t capacity_;
|
||||
size_t default_size_;
|
||||
mutable CriticalSection crit_;
|
||||
CriticalSection crit_;
|
||||
std::deque<Buffer*> queue_ GUARDED_BY(crit_);
|
||||
std::vector<Buffer*> free_list_ GUARDED_BY(crit_);
|
||||
|
||||
|
Reference in New Issue
Block a user