Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-09-23 20:39:26 +0300
committerJulian Eisel <julian@blender.org>2021-09-23 20:39:26 +0300
commitb8a30c7664a1871fb3dae8805c21b7f24ca413d3 (patch)
tree81c38452a4b20f478124e815dbf3e5c5e65c2a7c /source/blender/editors/include/UI_tree_view.hh
parent323fd80aada46105e23985f5646f9252b5e6f193 (diff)
Cleanup: Use const in previously committed function
Diffstat (limited to 'source/blender/editors/include/UI_tree_view.hh')
-rw-r--r--source/blender/editors/include/UI_tree_view.hh2
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;