From 9da36481b9eb7954b18a7dfc14bfe75f3b26702c Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Wed, 5 Mar 2025 17:32:09 +0100 Subject: [PATCH] Fixed relationship_hint association override (#394) --- src/common/model/template_parameter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/model/template_parameter.cc b/src/common/model/template_parameter.cc index 60a2f339..91230424 100644 --- a/src/common/model/template_parameter.cc +++ b/src/common/model/template_parameter.cc @@ -506,7 +506,7 @@ bool template_parameter::find_nested_relationships(const clang::Decl *decl, hint = common::model::relationship_t::kDependency; if (maybe_type && should_include(maybe_type.value())) { - if (allow_hint_override && is_association()) + if (is_association()) hint = common::model::relationship_t::kAssociation; const auto maybe_id = id();