Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Oct 15, 2024
1 parent 32cdac8 commit 061ccab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Thing.inl
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ namespace Langulus::Entity
const auto type = construct.GetType();
const auto producer = type and type->mProducerRetriever
? type->mProducerRetriever() : nullptr;
Construct descriptor = construct;

ENTITY_VERBOSE_SELF(
"Acting as producer context for making `",
Expand All @@ -581,7 +582,6 @@ namespace Langulus::Entity
// Implicitly add a parent trait to descriptor, if one isn't
// already added - it will be stripped later, when normalizing
// the descriptor when producing the item from a factory
Construct descriptor = construct;
Traits::Parent parent;
if (not descriptor->ExtractTrait<Traits::Parent>(parent)) {
parent = this;
Expand Down

0 comments on commit 061ccab

Please sign in to comment.