diff options
author | Julian Eisel <julian@blender.org> | 2021-09-23 20:39:26 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-09-23 20:39:26 +0300 |
commit | b8a30c7664a1871fb3dae8805c21b7f24ca413d3 (patch) | |
tree | 81c38452a4b20f478124e815dbf3e5c5e65c2a7c /source/blender/editors/include | |
parent | 323fd80aada46105e23985f5646f9252b5e6f193 (diff) |
Cleanup: Use const in previously committed function
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_tree_view.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_tree_view.hh b/source/blender/editors/include/UI_tree_view.hh index 51b8e65521a..dd1a0af2dc0 100644 --- a/source/blender/editors/include/UI_tree_view.hh +++ b/source/blender/editors/include/UI_tree_view.hh @@ -188,7 +188,7 @@ class AbstractTreeViewItem : public TreeViewItemContainer { /** Copy persistent state (e.g. is-collapsed flag, selection, etc.) from a matching item of the * last redraw to this item. If sub-classes introduce more advanced state they should override * this and make it update their state accordingly. */ - virtual void update_from_old(AbstractTreeViewItem &old); + virtual void update_from_old(const AbstractTreeViewItem &old); const AbstractTreeView &get_tree_view() const; int count_parents() const; |