diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-26 19:45:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 19:45:04 +0200 |
commit | fab3412139ce6b4befcba950896e45a44365e2f6 (patch) | |
tree | d6091ad1438d41eed088ed28a60cfed0c7e6663b /editor/plugins/theme_editor_plugin.cpp | |
parent | a504e4d4c3af53bb21a0013132719affd3e21798 (diff) | |
parent | 92299989bd10fd9855b6d77bc2bfabae218d1eea (diff) |
Merge pull request #50899 from akien-mga/refref
Use Ref<T> references as iterators where relevant
Diffstat (limited to 'editor/plugins/theme_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/theme_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/theme_editor_plugin.cpp b/editor/plugins/theme_editor_plugin.cpp index 6bd901cead..6bcc65e30c 100644 --- a/editor/plugins/theme_editor_plugin.cpp +++ b/editor/plugins/theme_editor_plugin.cpp @@ -2906,7 +2906,7 @@ void ThemeTypeEditor::_update_stylebox_from_leading() { continue; } - for (Ref<StyleBox> F : styleboxes) { + for (const Ref<StyleBox> &F : styleboxes) { Ref<StyleBox> sb = F; sb->set(E.name, value); } |