1
0
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:
Lightning_A
2021-07-03 16:17:03 -06:00
committed by Aaron Record
parent 5efe80f308
commit e078f970db
134 changed files with 323 additions and 323 deletions

View File

@@ -193,7 +193,7 @@ void XRServer::remove_interface(const Ref<XRInterface> &p_interface) {
print_verbose("XR: Removed interface" + p_interface->get_name());
emit_signal(SNAME("interface_removed"), p_interface->get_name());
interfaces.remove(idx);
interfaces.remove_at(idx);
};
int XRServer::get_interface_count() const {
@@ -396,7 +396,7 @@ XRServer::~XRServer() {
primary_interface.unref();
while (interfaces.size() > 0) {
interfaces.remove(0);
interfaces.remove_at(0);
}
// TODO pretty sure there is a clear function or something...