Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-12-09 18:29:11 +0300
committerJacques Lucke <jacques@blender.org>2020-12-09 18:29:11 +0300
commitc93f826661334926fc15504243f61c85242bec42 (patch)
tree80b49e2b1aefcf177c1bb745f2501a660260b9aa /source/blender/depsgraph
parent4a5f36638b0244b586607e76451669ffbc3c1174 (diff)
Cleanup: various clang tidy fixes
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_query_foreach.cc2
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_flush.cc2
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 {