diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-11-23 10:39:26 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-11-23 10:39:26 +0300 |
commit | 59754ef0b26797acd2ae5e730c76c5799544ad42 (patch) | |
tree | d2eaac20dc4ce8b88177d9249b974b8627330eb5 /source/blender/editors/interface/interface_template_search_menu.cc | |
parent | 34370d9fdf33d6d5c8678a0ad9cf339fcdda00fc (diff) |
Cleanup: silent clang-tidy warning NULL vs nullptr.
Diffstat (limited to 'source/blender/editors/interface/interface_template_search_menu.cc')
-rw-r--r-- | source/blender/editors/interface/interface_template_search_menu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_template_search_menu.cc b/source/blender/editors/interface/interface_template_search_menu.cc index f846eebb457..fe7660e4221 100644 --- a/source/blender/editors/interface/interface_template_search_menu.cc +++ b/source/blender/editors/interface/interface_template_search_menu.cc @@ -787,14 +787,14 @@ static MenuSearch_Data *menu_items_from_ui_create( } if (region) { - BLI_ghash_remove(region->runtime.block_name_map, sub_block->name, NULL, NULL); + BLI_ghash_remove(region->runtime.block_name_map, sub_block->name, nullptr, nullptr); BLI_remlink(®ion->uiblocks, sub_block); } UI_block_free(nullptr, sub_block); } } if (region) { - BLI_ghash_remove(region->runtime.block_name_map, block->name, NULL, NULL); + BLI_ghash_remove(region->runtime.block_name_map, block->name, nullptr, nullptr); BLI_remlink(®ion->uiblocks, block); } UI_block_free(nullptr, block); |