diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2021-07-26 17:50:35 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-07-26 19:27:11 +0200 |
| commit | 92299989bd10fd9855b6d77bc2bfabae218d1eea (patch) | |
| tree | 7102f96ac3722e82c2cae7ad8bd4a5b5e7961989 /editor/plugins/theme_editor_plugin.cpp | |
| parent | fef27e9b5b9b125ff535513c80b45953e8717f7d (diff) | |
| download | redot-engine-92299989bd10fd9855b6d77bc2bfabae218d1eea.tar.gz | |
Use Ref<T> references as iterators where relevant
And const when possible.
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); } |
