You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -501,7 +501,7 @@ void CodeHighlighter::add_color_region(const String &p_start_key, const String &
|
||||
void CodeHighlighter::remove_color_region(const String &p_start_key) {
|
||||
for (int i = 0; i < color_regions.size(); i++) {
|
||||
if (color_regions[i].start_key == p_start_key) {
|
||||
color_regions.remove(i);
|
||||
color_regions.remove_at(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user