Skip to content

Commit

Permalink
Inline method call
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Mar 23, 2023
1 parent a63e688 commit 2eb0f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-kernel/src/operations/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::{
Cycle, Face, GlobalEdge, HalfEdge, Objects, Shell, Sketch, Solid,
Surface, Vertex,
},
services::{Service, ServiceObjectsExt},
services::{Operation, Service},
storage::Handle,
};

Expand All @@ -24,7 +24,7 @@ macro_rules! impl_insert {
{
let handle = objects.$store.reserve();
let object = (handle.clone(), self).into();
objects.insert(object);
objects.execute(Operation::InsertObject { object });
handle
}
}
Expand Down

0 comments on commit 2eb0f43

Please sign in to comment.