summaryrefslogtreecommitdiffstats
path: root/core/templates/local_vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/local_vector.h')
-rw-r--r--core/templates/local_vector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/local_vector.h b/core/templates/local_vector.h
index 5704b8f230..3854e1e94c 100644
--- a/core/templates/local_vector.h
+++ b/core/templates/local_vector.h
@@ -70,7 +70,7 @@ public:
}
}
- void remove(U p_index) {
+ void remove_at(U p_index) {
ERR_FAIL_UNSIGNED_INDEX(p_index, count);
count--;
for (U i = p_index; i < count; i++) {
@@ -83,7 +83,7 @@ public:
/// Removes the item copying the last value into the position of the one to
/// remove. It's generally faster than `remove`.
- void remove_unordered(U p_index) {
+ void remove_at_unordered(U p_index) {
ERR_FAIL_INDEX(p_index, count);
count--;
if (count > p_index) {
@@ -97,7 +97,7 @@ public:
void erase(const T &p_val) {
int64_t idx = find(p_val);
if (idx >= 0) {
- remove(idx);
+ remove_at(idx);
}
}