mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Use Ref<T> references as iterators where relevant
And const when possible.
This commit is contained in:
parent
fef27e9b5b
commit
92299989bd
18 changed files with 62 additions and 83 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue