Add fill method to Array and PoolArrays
Co-authored-by: Matheus Lima Cunha <matheus.limacunha@hotmail.com>
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user