Add fill method to Array and PoolArrays

Co-authored-by: Matheus Lima Cunha <matheus.limacunha@hotmail.com>
This commit is contained in:
Haoyu Qiu
2022-04-22 18:45:34 +08:00
parent 3ba980379d
commit 77b6f7595a
14 changed files with 98 additions and 0 deletions

View File

@ -143,6 +143,10 @@ void Array::insert(int p_pos, const Variant &p_value) {
_p->array.insert(p_pos, p_value);
}
void Array::fill(const Variant &p_value) {
_p->array.fill(p_value);
}
void Array::erase(const Variant &p_value) {
_p->array.erase(p_value);
}