From 5397fcc5c24ae7d485fe16311c52703e01f5d69c Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sat, 22 Jul 2023 23:10:07 +0200 Subject: [PATCH] rename bigparent to parent --- solanaceae/contact/components.hpp | 5 +++-- solanaceae/contact/components_id.inl | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/solanaceae/contact/components.hpp b/solanaceae/contact/components.hpp index cc5e935..2b76c0d 100644 --- a/solanaceae/contact/components.hpp +++ b/solanaceae/contact/components.hpp @@ -18,11 +18,12 @@ namespace Contact::Components { Contact3 self; }; - // TODO: rename to SubOf? - struct BigParent { + // tier 1 + struct Parent { Contact3 parent; }; + // TODO: maybe rename to children struct ParentOf { std::vector subs; }; diff --git a/solanaceae/contact/components_id.inl b/solanaceae/contact/components_id.inl index 95f15fa..d00dab2 100644 --- a/solanaceae/contact/components_id.inl +++ b/solanaceae/contact/components_id.inl @@ -16,7 +16,7 @@ DEFINE_COMP_ID(Contact::Components::TagSelfWeak) DEFINE_COMP_ID(Contact::Components::TagSelfStrong) DEFINE_COMP_ID(Contact::Components::TagBig) DEFINE_COMP_ID(Contact::Components::Self) -DEFINE_COMP_ID(Contact::Components::BigParent) +DEFINE_COMP_ID(Contact::Components::Parent) DEFINE_COMP_ID(Contact::Components::ParentOf) DEFINE_COMP_ID(Contact::Components::ContactModel) DEFINE_COMP_ID(Contact::Components::Name)