Fixed template specialization handling in subclass filter

This commit is contained in:
Bartek Kryza
2024-01-22 09:50:47 +01:00
parent 25adff0080
commit 9376b856cc
5 changed files with 31 additions and 24 deletions

View File

@@ -498,8 +498,9 @@ tvl::value_t subclass_filter::match(const diagram &d, const element &e) const
for (const auto &root : roots_) {
for (const auto &parent : parents) {
auto full_name = parent.get().full_name(false);
if (root == full_name)
if (root == full_name) {
return true;
}
}
}