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>2021-09-11 13:41:46 +0300
committerJacques Lucke <jacques@blender.org>2021-09-11 13:41:46 +0300
commit166c8be7ac018c461514453b9947a23b7ac2ef26 (patch)
tree78325cc656682d416add415a9a336df62d19b29c /source/blender/functions/intern
parentaeeffb935e9406fa2cdcb84828aa0e498b2df664 (diff)
Cleanup: use nullptr
Diffstat (limited to 'source/blender/functions/intern')
-rw-r--r--source/blender/functions/intern/multi_function_procedure.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/functions/intern/multi_function_procedure.cc b/source/blender/functions/intern/multi_function_procedure.cc
index e024cee79c8..2aa760a494f 100644
--- a/source/blender/functions/intern/multi_function_procedure.cc
+++ b/source/blender/functions/intern/multi_function_procedure.cc
@@ -242,7 +242,7 @@ void MFProcedure::add_parameter(MFParamType::InterfaceType interface_type, MFVar
void MFProcedure::set_entry(MFInstruction &entry)
{
- if (entry_ != NULL) {
+ if (entry_ != nullptr) {
entry_->prev_.remove_first_occurrence_and_reorder(MFInstructionCursor::ForEntry());
}
entry_ = &entry;