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/eval
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/eval')
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc2
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc
index e3beeb52ab1..29f70e8548e 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc
@@ -70,7 +70,7 @@ void animated_property_store_cb(ID *id, FCurve *fcurve, void *data_v)
return;
}
- data->backup->values_backup.emplace_back(fcurve->rna_path, fcurve->array_index, value);
+ data->backup->values_backup.append({fcurve->rna_path, fcurve->array_index, value});
}
} // namespace
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h
index d97ee2b0556..d021354e6f2 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h
+++ b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h
@@ -59,7 +59,7 @@ class AnimationBackup {
void restore_to_id(ID *id);
bool meed_value_backup;
- vector<AnimationValueBackup> values_backup;
+ Vector<AnimationValueBackup> values_backup;
};
} // namespace DEG