You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -2212,7 +2212,7 @@ void EditorExportPlatformAndroid::get_command_line_flags(const Ref<EditorExportP
|
||||
Vector<String> command_line_strings = cmdline.strip_edges().split(" ");
|
||||
for (int i = 0; i < command_line_strings.size(); i++) {
|
||||
if (command_line_strings[i].strip_edges().length() == 0) {
|
||||
command_line_strings.remove(i);
|
||||
command_line_strings.remove_at(i);
|
||||
i--;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user