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:
Sebastian Dröge 2020-02-09 18:22:45 +02:00
parent 4506973889
commit 420150a4e3

View file

@ -111,7 +111,7 @@ impl UniqueFlowCombiner {
self.0.add_pad(pad);
}
pub fn clear(&self) {
pub fn clear(&mut self) {
self.0.clear();
}