From 29daa05b9aa00b22a497476e19dc0844b14b8e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 24 Sep 2024 12:21:52 +0200 Subject: [PATCH] Refs #20165. Apply suggestions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- .../fastdds/xtypes/type_representation/TypeObjectRegistry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/fastdds/xtypes/type_representation/TypeObjectRegistry.cpp b/src/cpp/fastdds/xtypes/type_representation/TypeObjectRegistry.cpp index 44507843338..c51ef8eb1ce 100644 --- a/src/cpp/fastdds/xtypes/type_representation/TypeObjectRegistry.cpp +++ b/src/cpp/fastdds/xtypes/type_representation/TypeObjectRegistry.cpp @@ -926,7 +926,7 @@ const TypeIdentifier TypeObjectRegistry::get_complementary_type_identifier( { return it->second.complementary_type_id; } - else + else if (EK_COMPLETE == type_id._d()) // From EK_COMPLETE its EK_MINIMAL complementary can be built. { TypeRegistryEntry minimal_entry; CompleteTypeObject complete_type_object = it->second.type_object.complete();