mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-10 01:05:28 +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
ea38e022be
commit
0ffd86c37e
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