Skip to content

Commit

Permalink
Removed root-toggle guard from throwing an exception. Not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
koschke committed Sep 14, 2023
1 parent 505b7e5 commit 33bcbf9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Assets/SEE/Tools/ReflexionAnalysis/ReflexionGraph.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,7 @@ public override void AddNode(Node node)
AddToImplementation(node);
break;
default:
if (!node.HasToggle(RootToggle))
{
throw new NotSupportedException($"Given node {node.ID} must be in architecture or implementation graph!");
}
break;
throw new NotSupportedException($"Given node {node.ID} must be in architecture or implementation graph!");
}
}

Expand Down

0 comments on commit 33bcbf9

Please sign in to comment.