From c63fb657c8991dbffaf6d6bb2bdf3d4fc3894f53 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 12 Oct 2021 17:13:48 +0200 Subject: [PATCH] Cleanup: use `nullptr` instead of `NULL` in C++ code. --- source/blender/editors/asset/intern/asset_ops.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }