From 061ccabaf4003ba7d7903771efe8dc906ea7b622 Mon Sep 17 00:00:00 2001 From: Dimo Markov Date: Tue, 15 Oct 2024 10:44:54 +0300 Subject: [PATCH] Minor changes --- source/Thing.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Thing.inl b/source/Thing.inl index be297a7..37a7a60 100644 --- a/source/Thing.inl +++ b/source/Thing.inl @@ -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 `", @@ -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(parent)) { parent = this;