[Bf-blender-cvs] [c63fb657c89] master: Cleanup: use `nullptr` instead of `NULL` in C++ code.

Bastien Montagne noreply at git.blender.org
Tue Oct 12 17:16:27 CEST 2021


Commit: c63fb657c8991dbffaf6d6bb2bdf3d4fc3894f53
Author: Bastien Montagne
Date:   Tue Oct 12 17:13:48 2021 +0200
Branches: master
https://developer.blender.org/rBc63fb657c8991dbffaf6d6bb2bdf3d4fc3894f53

Cleanup: use `nullptr` instead of `NULL` in C++ code.

===================================================================

M	source/blender/editors/asset/intern/asset_ops.cc

===================================================================

diff --git a/source/blender/editors/asset/intern/asset_ops.cc b/source/blender/editors/asset/intern/asset_ops.cc
index 090cc53eb3b..bf532903c7c 100644
--- a/source/blender/editors/asset/intern/asset_ops.cc
+++ b/source/blender/editors/asset/intern/asset_ops.cc
@@ -474,7 +474,7 @@ static int asset_catalog_undo_exec(bContext *C, wmOperator * /*op*/)
   }
 
   catalog_service->undo();
-  WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, NULL);
+  WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, nullptr);
   return OPERATOR_FINISHED;
 }
 
@@ -504,7 +504,7 @@ static int asset_catalog_redo_exec(bContext *C, wmOperator * /*op*/)
   }
 
   catalog_service->redo();
-  WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, NULL);
+  WM_event_add_notifier(C, NC_SPACE | ND_SPACE_ASSET_PARAMS, nullptr);
   return OPERATOR_FINISHED;
 }



More information about the Bf-blender-cvs mailing list