diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-18 00:35:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-18 00:50:02 +0300 |
commit | 485915115490fc04e4eafbaac66f2917fe932020 (patch) | |
tree | 04b2b417b1c304668a882da8ffc05b60edb87877 /source/blender/depsgraph/intern/builder/deg_builder_rna.cc | |
parent | 4bbd1b9610f6d85079ea5bc31fc1949f8409a1a4 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_rna.cc')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_rna.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc index 6aee365cd8a..90d4627fb34 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_rna.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_rna.cc @@ -88,7 +88,7 @@ public: const bPoseChannel *, pchan, &object->pose->chanbase) { LISTBASE_FOREACH ( - const bConstraint *, constraint, &pchan->constraints) + const bConstraint *, constraint, &pchan->constraints) { BLI_ghash_insert(contraint_to_pchan_map_, const_cast<bConstraint *>(constraint), @@ -109,7 +109,7 @@ protected: /* ***************************** Node Identifier **************************** */ -RNANodeIdentifier::RNANodeIdentifier() +RNANodeIdentifier::RNANodeIdentifier() : id(NULL), type(NodeType::UNDEFINED), component_name(""), @@ -143,7 +143,8 @@ RNANodeQuery::RNANodeQuery(Depsgraph *depsgraph) { } -RNANodeQuery::~RNANodeQuery() { +RNANodeQuery::~RNANodeQuery() +{ BLI_ghash_free(id_data_map_, NULL, ghash_id_data_free_func); } |