diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-24 07:59:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 07:59:56 +0100 |
commit | 96e70ac5f4f477eee3866ea788389a87d0dbd086 (patch) | |
tree | 21fb39b40de2674a99018d88e142e6f0196c68b0 /core/templates/cowdata.h | |
parent | 5efe80f3085c8c6451363fe4c743bf3d7fc20b6c (diff) | |
parent | e078f970db0e72bcc665d714416e6fc74e8434a6 (diff) |
Merge pull request #50139 from LightningAA/rename-remove-to-remove-at
Rename `remove()` to `remove_at()` when removing by index
Diffstat (limited to 'core/templates/cowdata.h')
-rw-r--r-- | core/templates/cowdata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/cowdata.h b/core/templates/cowdata.h index 9b8c0eb528..e79ca037db 100644 --- a/core/templates/cowdata.h +++ b/core/templates/cowdata.h @@ -167,7 +167,7 @@ public: Error resize(int p_size); - _FORCE_INLINE_ void remove(int p_index) { + _FORCE_INLINE_ void remove_at(int p_index) { ERR_FAIL_INDEX(p_index, size()); T *p = ptrw(); int len = size(); |