mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-26 01:50:33 +00:00
base/flow_combiner: UniqueFlowCombiner::clear() should take &mut self
It's modifying the state of the combiner and requires a unique, mutable reference.
This commit is contained in:
parent
4506973889
commit
420150a4e3
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ impl UniqueFlowCombiner {
|
|||
self.0.add_pad(pad);
|
||||
}
|
||||
|
||||
pub fn clear(&self) {
|
||||
pub fn clear(&mut self) {
|
||||
self.0.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue