|
@@ -126,20 +126,11 @@ struct SimpleDatabase {
|
|
|
}
|
|
|
|
|
|
impl Schema for SimpleDatabase {
|
|
|
- fn build() -> Self
|
|
|
+ fn accept_item_visitor(&self, visitor: &mut impl DatabaseItemVisitor)
|
|
|
where
|
|
|
Self: Sized,
|
|
|
{
|
|
|
- Self {
|
|
|
- strings: IDMap::build(),
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- fn accept_item_visitor(visitor: &mut impl DatabaseItemVisitor)
|
|
|
- where
|
|
|
- Self: Sized,
|
|
|
- {
|
|
|
- <IDMap<SimpleEntity> as DatabaseItem>::accept_item_visitor(visitor);
|
|
|
+ <IDMap<SimpleEntity> as DatabaseItem>::accept_item_visitor(&IDMap::default(), visitor);
|
|
|
}
|
|
|
}
|
|
|
|