Skip to content

Commit

Permalink
Fixed relationship_hint association override (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkryza committed Mar 5, 2025
1 parent 28d2c92 commit 9da3648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/model/template_parameter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9da3648

Please sign in to comment.