Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-10-29 17:55:49 +01:00
parent f1101c20d6
commit 1389be77ec
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ impl Layer<Topology> {
pub fn insert( pub fn insert(
&mut self, &mut self,
object: AnyObject<AboutToBeStored>, object: AnyObject<AboutToBeStored>,
geometry: &Geometry, geometry: &mut Layer<Geometry>,
validation: &mut Layer<Validation>, validation: &mut Layer<Validation>,
) { ) {
let mut events = Vec::new(); let mut events = Vec::new();

View File

@ -42,7 +42,7 @@ macro_rules! impl_insert {
let object = (handle.clone(), self).into(); let object = (handle.clone(), self).into();
core.layers.topology.insert( core.layers.topology.insert(
object, object,
&core.layers.geometry, &mut core.layers.geometry,
&mut core.layers.validation, &mut core.layers.validation,
); );
handle handle