Minor changes

This commit is contained in:
Alessandro Di Federico
2026-04-03 18:04:27 +02:00
parent bacd5e9a75
commit 7049f61baa
8 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ unsigned dropTypesDependingOnDefinitions(TupleTree<model::Binary> &Model,
// Prepare for deletion all the nodes reachable from Types
std::set<const model::TypeDefinition *> ToDelete;
for (const model::TypeDefinition *Type : Types) {
for (const auto *Node : depth_first(TypeToNode.at(Type))) {
for (const ForwardNode<TypeNode> *Node : depth_first(TypeToNode.at(Type))) {
ToDelete.insert(Node->T);
}
}