From 166c8be7ac018c461514453b9947a23b7ac2ef26 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Sat, 11 Sep 2021 12:41:46 +0200 Subject: Cleanup: use nullptr --- source/blender/functions/intern/multi_function_procedure.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/functions/intern') 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; -- cgit v1.2.3