mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Replace Array return types with TypedArray
This commit is contained in:
@@ -490,8 +490,8 @@ void ButtonGroup::get_buttons(List<BaseButton *> *r_buttons) {
|
||||
}
|
||||
}
|
||||
|
||||
Array ButtonGroup::_get_buttons() {
|
||||
Array btns;
|
||||
TypedArray<BaseButton> ButtonGroup::_get_buttons() {
|
||||
TypedArray<BaseButton> btns;
|
||||
for (const BaseButton *E : buttons) {
|
||||
btns.push_back(E);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user