diff options
| author | Lightning_A <aaronjrecord@gmail.com> | 2021-07-03 16:17:03 -0600 |
|---|---|---|
| committer | Aaron Record <aaronjrecord@gmail.com> | 2021-11-23 18:58:57 -0700 |
| commit | e078f970db0e72bcc665d714416e6fc74e8434a6 (patch) | |
| tree | 21fb39b40de2674a99018d88e142e6f0196c68b0 /platform/android | |
| parent | 5efe80f3085c8c6451363fe4c743bf3d7fc20b6c (diff) | |
Rename `remove()` to `remove_at()` when removing by index
Diffstat (limited to 'platform/android')
| -rw-r--r-- | platform/android/android_input_handler.cpp | 2 | ||||
| -rw-r--r-- | platform/android/export/export_plugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/android_input_handler.cpp b/platform/android/android_input_handler.cpp index dc259da886..52f80b3080 100644 --- a/platform/android/android_input_handler.cpp +++ b/platform/android/android_input_handler.cpp @@ -223,7 +223,7 @@ void AndroidInputHandler::process_touch(int p_event, int p_pointer, const Vector ev->set_pressed(false); ev->set_position(touch[i].pos); Input::get_singleton()->parse_input_event(ev); - touch.remove(i); + touch.remove_at(i); break; } diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 05cd63d935..c5d3cbd966 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -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--; } } |