perf: GetOverviewBundleNodeTypesOrdered to static const variable. (#878)

This commit is contained in:
technateNG
2020-01-07 12:44:44 +01:00
committed by Malte Langkabel
parent f799bd4946
commit 0dcb83403c
3 changed files with 19 additions and 19 deletions
@@ -1433,7 +1433,7 @@ void GraphController::bundleNodesByType()
bool hasNonFileBundle = false;
for (const NodeType& nodeType: NodeType::getOverviewBundleNodeTypesOrdered())
for (const NodeType& nodeType: NodeType::overviewBundleNodeTypesOrdered)
{
Tree<NodeType::BundleInfo> bundleInfoTree = nodeType.getOverviewBundleTree();
if (bundleInfoTree.data.isValid())