diff options
author | Bastien Montagne <bastien@blender.org> | 2021-10-12 18:13:48 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-10-12 18:16:20 +0300 |
commit | c63fb657c8991dbffaf6d6bb2bdf3d4fc3894f53 (patch) | |
tree | bdefacd36c5ac7dac1e3c8d7ccb6ed337fbf72a9 /source/blender/editors/asset/intern/asset_ops.cc | |
parent | 45f167237f0cbebfed95e8b58b405367070ac305 (diff) |
Cleanup: use `nullptr` instead of `NULL` in C++ code.
Diffstat (limited to 'source/blender/editors/asset/intern/asset_ops.cc')
-rw-r--r-- | source/blender/editors/asset/intern/asset_ops.cc | 4 |
1 files 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; } |