diff --git a/imessage-database/src/util/typedstream/parser.rs b/imessage-database/src/util/typedstream/parser.rs index add33a7e..b1d6027e 100644 --- a/imessage-database/src/util/typedstream/parser.rs +++ b/imessage-database/src/util/typedstream/parser.rs @@ -309,8 +309,8 @@ impl<'a> TypedStreamReader<'a> { return Ok(self.object_table.get(idx)); } ClassResult::ClassHierarchy(classes) => { - for class in classes.iter() { - self.object_table.push(class.clone()) + for class in classes.into_iter() { + self.object_table.push(class) } } }