Remove add_summary_with_ctx and always require a ctx in add_summary
This commit is contained in:
@@ -68,7 +68,7 @@ impl<T: Operation> KeyedItem for T {
|
||||
impl Summary for OperationSummary {
|
||||
type Context = ();
|
||||
|
||||
fn add_summary(&mut self, other: &Self) {
|
||||
fn add_summary(&mut self, other: &Self, _: Option<&Self::Context>) {
|
||||
assert!(self.key < other.key);
|
||||
self.key = other.key;
|
||||
self.len += other.len;
|
||||
|
||||
Reference in New Issue
Block a user