Skip to content

Commit

Permalink
feat: derive Clone for ComponentStore. (#459)
Browse files Browse the repository at this point in the history
It was just an oversight that it wasn't already derived, because the
inner untyped store is already `Clone`.
  • Loading branch information
zicklag authored Sep 8, 2024
1 parent c16165d commit f63f27b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework_crates/bones_ecs/src/components/typed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use crate::prelude::*;
use super::untyped::UntypedComponentStore;

/// A typed wrapper around [`UntypedComponentStore`].
#[derive(Clone)]
#[repr(transparent)]
pub struct ComponentStore<T: HasSchema> {
untyped: UntypedComponentStore,
Expand Down

0 comments on commit f63f27b

Please sign in to comment.