From 1389be77ec4072d963a3e62dc820f3f2c5dc11fe Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 29 Oct 2024 17:55:49 +0100 Subject: [PATCH] Prepare for follow-on change --- crates/fj-core/src/layers/topology.rs | 2 +- crates/fj-core/src/operations/insert/insert_trait.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/layers/topology.rs b/crates/fj-core/src/layers/topology.rs index 05fd02385..4d33c9f9d 100644 --- a/crates/fj-core/src/layers/topology.rs +++ b/crates/fj-core/src/layers/topology.rs @@ -15,7 +15,7 @@ impl Layer { pub fn insert( &mut self, object: AnyObject, - geometry: &Geometry, + geometry: &mut Layer, validation: &mut Layer, ) { let mut events = Vec::new(); diff --git a/crates/fj-core/src/operations/insert/insert_trait.rs b/crates/fj-core/src/operations/insert/insert_trait.rs index 4dd27fe5e..4e1b76eba 100644 --- a/crates/fj-core/src/operations/insert/insert_trait.rs +++ b/crates/fj-core/src/operations/insert/insert_trait.rs @@ -42,7 +42,7 @@ macro_rules! impl_insert { let object = (handle.clone(), self).into(); core.layers.topology.insert( object, - &core.layers.geometry, + &mut core.layers.geometry, &mut core.layers.validation, ); handle