diff options
author | kobewi <kobewi4e@gmail.com> | 2022-08-05 20:35:08 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-08-23 23:21:32 +0200 |
commit | 1abdffe7a029daf634f57132cb5ab5d82a7ccfc9 (patch) | |
tree | 1b0d34d6c4bfb94b46b3640e17ce80b5dc291b11 /servers/rendering | |
parent | d5606503b47a98a5d1d925b2b655760dab850e6e (diff) |
Replace Array return types with TypedArray 2
Diffstat (limited to 'servers/rendering')
-rw-r--r-- | servers/rendering/rendering_device_binds.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/rendering/rendering_device_binds.h b/servers/rendering/rendering_device_binds.h index 8bdd3deea1..a56b7eb241 100644 --- a/servers/rendering/rendering_device_binds.h +++ b/servers/rendering/rendering_device_binds.h @@ -443,8 +443,8 @@ public: void add_id(const RID &p_id) { base.append_id(p_id); } void clear_ids() { base.clear_ids(); } - Array get_ids() const { - Array ids; + TypedArray<RID> get_ids() const { + TypedArray<RID> ids; for (uint32_t i = 0; i < base.get_id_count(); i++) { ids.push_back(base.get_id(i)); } @@ -452,7 +452,7 @@ public: } protected: - void _set_ids(const Array &p_ids) { + void _set_ids(const TypedArray<RID> &p_ids) { base.clear_ids(); for (int i = 0; i < p_ids.size(); i++) { RID id = p_ids[i]; |