diff options
author | Campbell Barton <campbell@blender.org> | 2022-07-04 08:06:23 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-07-04 08:07:02 +0300 |
commit | faa97de208dab9c442213c8265092876138e3ec0 (patch) | |
tree | 9ab19090f60f2551cb852c10e0f8baf1c9025d39 /source/blender/editors/interface | |
parent | 9dd27a2c87f426fc9aa30f865cbb00bc8027521d (diff) |
Cleanup: correct function signature for UI_block_add_view for grid_view
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_view.cc b/source/blender/editors/interface/interface_view.cc index 72a6e3ba5e3..2d93e03ea18 100644 --- a/source/blender/editors/interface/interface_view.cc +++ b/source/blender/editors/interface/interface_view.cc @@ -57,9 +57,9 @@ static T *ui_block_add_view_impl(uiBlock &block, AbstractGridView *UI_block_add_view(uiBlock &block, StringRef idname, - std::unique_ptr<AbstractView> tree_view) + std::unique_ptr<AbstractGridView> grid_view) { - return ui_block_add_view_impl<AbstractGridView>(block, idname, std::move(tree_view)); + return ui_block_add_view_impl<AbstractGridView>(block, idname, std::move(grid_view)); } AbstractTreeView *UI_block_add_view(uiBlock &block, |