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-06-10 16:25:39 +0300
committerJacques Lucke <jacques@blender.org>2020-06-10 16:33:50 +0300
commita7ea07c6777a93373c8261d4a36edcee8a66a460 (patch)
tree3ea0626fadf4ad92571ce6ee78b8851c38700d64 /source/blender/depsgraph/intern/depsgraph.h
parent044b824c9d4e718391fcb69ac226b61a4638c42a (diff)
Depsgraph: use blender::Vector instead of std::vector
We decided that `blender::Vector` should be the default choice for a vector data structure in Blender. Reviewers: sergey Differential Revision: https://developer.blender.org/D7981
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h
index 672f202338e..e0686bd04aa 100644
--- a/source/blender/depsgraph/intern/depsgraph.h
+++ b/source/blender/depsgraph/intern/depsgraph.h
@@ -57,9 +57,8 @@ struct TimeSourceNode;
/* Dependency Graph object */
struct Depsgraph {
- // TODO(sergey): Go away from C++ container and use some native BLI.
- typedef vector<OperationNode *> OperationNodes;
- typedef vector<IDNode *> IDDepsNodes;
+ typedef Vector<OperationNode *> OperationNodes;
+ typedef Vector<IDNode *> IDDepsNodes;
Depsgraph(Main *bmain, Scene *scene, ViewLayer *view_layer, eEvaluationMode mode);
~Depsgraph();