forked from mirrors/gstreamer-rs
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);
|
self.0.add_pad(pad);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn clear(&self) {
|
pub fn clear(&mut self) {
|
||||||
self.0.clear();
|
self.0.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue