diff options
author | Jacques Lucke <jacques@blender.org> | 2020-04-28 13:49:52 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-04-28 13:49:52 +0300 |
commit | b21a3e770277aef4d7a17b9b72c1c622493a5eb9 (patch) | |
tree | 3d144dfefb0ac5bcf21213fd0309b5d35078ba2c /source/blender/depsgraph/intern/depsgraph_debug.cc | |
parent | 9c2715ffda93a7625955a453a6dacaa4b601dd89 (diff) |
Depsgraph: Use BLI::Map in more places
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7519
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_debug.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_debug.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_debug.cc b/source/blender/depsgraph/intern/depsgraph_debug.cc index c713a4a3fb1..b4fc872e98b 100644 --- a/source/blender/depsgraph/intern/depsgraph_debug.cc +++ b/source/blender/depsgraph/intern/depsgraph_debug.cc @@ -224,13 +224,12 @@ void DEG_stats_simple(const Depsgraph *graph, for (DEG::IDNode *id_node : deg_graph->id_nodes) { tot_outer++; - GHASH_FOREACH_BEGIN (DEG::ComponentNode *, comp_node, id_node->components) { + for (DEG::ComponentNode *comp_node : id_node->components.values()) { tot_outer++; for (DEG::OperationNode *op_node : comp_node->operations) { tot_rels += op_node->inlinks.size(); } } - GHASH_FOREACH_END(); } DEG::TimeSourceNode *time_source = deg_graph->find_time_source(); |