Adapt to new libimagstore::iter::Entries API

Use Entries::into_storeid_iter() for transforming iterator into right
type.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-01-05 01:09:12 +01:00
parent ebf3f309a6
commit d2c031920a

View file

@ -74,7 +74,7 @@ impl<'a> NoteStore<'a> for Store {
} }
fn all_notes(&'a self) -> Result<NoteIterator> { fn all_notes(&'a self) -> Result<NoteIterator> {
self.entries().map(|it| it.without_store()).map(NoteIterator::new) self.entries().map(|it| it.into_storeid_iter()).map(NoteIterator::new)
} }
} }