aboutsummaryrefslogtreecommitdiff
path: root/src/model/key_table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/key_table.rs')
-rw-r--r--src/model/key_table.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/model/key_table.rs b/src/model/key_table.rs
index fcca3835..e6ebe8de 100644
--- a/src/model/key_table.rs
+++ b/src/model/key_table.rs
@@ -113,6 +113,10 @@ impl TableSchema for KeyTable {
type E = Key;
type Filter = KeyFilter;
+ fn updated(&self, _old: Option<Self::E>, _new: Option<Self::E>) {
+ // nothing to do when updated
+ }
+
fn matches_filter(entry: &Self::E, filter: &Self::Filter) -> bool {
match filter {
KeyFilter::Deleted(df) => df.apply(entry.deleted.get()),