Rename remove() to remove_at() when removing by index
This commit is contained in:
parent
5efe80f308
commit
e078f970db
134 changed files with 323 additions and 323 deletions
|
|
@ -1351,7 +1351,7 @@ void Input::add_joy_mapping(String p_mapping, bool p_update_existing) {
|
|||
void Input::remove_joy_mapping(String p_guid) {
|
||||
for (int i = map_db.size() - 1; i >= 0; i--) {
|
||||
if (p_guid == map_db[i].uid) {
|
||||
map_db.remove(i);
|
||||
map_db.remove_at(i);
|
||||
}
|
||||
}
|
||||
for (KeyValue<int, Joypad> &E : joy_names) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue