diff options
author | Jacques Lucke <jacques@blender.org> | 2020-12-09 18:29:11 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-09 18:29:11 +0300 |
commit | c93f826661334926fc15504243f61c85242bec42 (patch) | |
tree | 80b49e2b1aefcf177c1bb745f2501a660260b9aa /source/blender/depsgraph | |
parent | 4a5f36638b0244b586607e76451669ffbc3c1174 (diff) |
Cleanup: various clang tidy fixes
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_query_foreach.cc | 2 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/eval/deg_eval_flush.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_query_foreach.cc b/source/blender/depsgraph/intern/depsgraph_query_foreach.cc index 1c050edc386..6ce7cc0837b 100644 --- a/source/blender/depsgraph/intern/depsgraph_query_foreach.cc +++ b/source/blender/depsgraph/intern/depsgraph_query_foreach.cc @@ -47,7 +47,7 @@ namespace deg = blender::deg; namespace blender::deg { namespace { -typedef deque<OperationNode *> TraversalQueue; +using TraversalQueue = deque<OperationNode *>; using DEGForeachOperation = void (*)(OperationNode *, void *); diff --git a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc index fa7cfb305ee..1b24e2b7ad2 100644 --- a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc +++ b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc @@ -82,7 +82,7 @@ enum { COMPONENT_STATE_DONE = 2, }; -typedef deque<OperationNode *> FlushQueue; +using FlushQueue = deque<OperationNode *>; namespace { |