diff options
author | Jacques Lucke <jacques@blender.org> | 2020-06-18 19:16:51 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-06-18 19:18:19 +0300 |
commit | 52b8d668f4d3d0a841313b678027a2d6af2fbc37 (patch) | |
tree | fbebc123c8929c2d36ba72b0e1638daed4c93c99 /source/blender/depsgraph/intern/builder/deg_builder_map.h | |
parent | 44f785266012cfc399f29d28f13717a317e7a348 (diff) |
Depsgraph: use blender::Map instead of std::map
We decided to use our own map data structure in general for better
readability and performance.
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7987
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_map.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_map.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_map.h b/source/blender/depsgraph/intern/builder/deg_builder_map.h index 65b493e2467..54561a0c3d2 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_map.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_map.h @@ -75,8 +75,7 @@ class BuilderMap { protected: int getIDTag(ID *id) const; - typedef map<ID *, int> IDTagMap; - IDTagMap id_tags_; + Map<ID *, int> id_tags_; }; } // namespace DEG |