diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-01-28 16:50:13 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-01-28 17:10:44 +0300 |
commit | 40a9b5ebc77953a3f0b47def39438beed681aac0 (patch) | |
tree | 7c59d584e43ea837a40e064a73859909f08ca84b /source/blender/depsgraph/intern/depsgraph_relation.cc | |
parent | 01a348274218103ecdbaddc699a97e86f0c4ce18 (diff) |
Cleanup: changed NULL to nullptr in depsgraph C++ code
No functional changes.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_relation.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_relation.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_relation.cc b/source/blender/depsgraph/intern/depsgraph_relation.cc index 387582ca4e0..1b2de2cc807 100644 --- a/source/blender/depsgraph/intern/depsgraph_relation.cc +++ b/source/blender/depsgraph/intern/depsgraph_relation.cc @@ -59,13 +59,13 @@ Relation::Relation(Node *from, Node *to, const char *description) Relation::~Relation() { /* Sanity check. */ - BLI_assert(from != NULL && to != NULL); + BLI_assert(from != nullptr && to != nullptr); } void Relation::unlink() { /* Sanity check. */ - BLI_assert(from != NULL && to != NULL); + BLI_assert(from != nullptr && to != nullptr); remove_from_vector(&from->outlinks, this); remove_from_vector(&to->inlinks, this); } |