summaryrefslogtreecommitdiffstats
path: root/servers/camera_server.cpp
diff options
context:
space:
mode:
authorLightning_A <aaronjrecord@gmail.com>2021-07-03 16:17:03 -0600
committerAaron Record <aaronjrecord@gmail.com>2021-11-23 18:58:57 -0700
commite078f970db0e72bcc665d714416e6fc74e8434a6 (patch)
tree21fb39b40de2674a99018d88e142e6f0196c68b0 /servers/camera_server.cpp
parent5efe80f3085c8c6451363fe4c743bf3d7fc20b6c (diff)
downloadredot-engine-e078f970db0e72bcc665d714416e6fc74e8434a6.tar.gz
Rename `remove()` to `remove_at()` when removing by index
Diffstat (limited to 'servers/camera_server.cpp')
-rw-r--r--servers/camera_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/camera_server.cpp b/servers/camera_server.cpp
index 6f506d0f7a..8391a2ee2e 100644
--- a/servers/camera_server.cpp
+++ b/servers/camera_server.cpp
@@ -124,7 +124,7 @@ void CameraServer::remove_feed(const Ref<CameraFeed> &p_feed) {
#endif
// remove it from our array, if this results in our feed being unreferenced it will be destroyed
- feeds.remove(i);
+ feeds.remove_at(i);
// let whomever is interested know
emit_signal(SNAME("camera_feed_removed"), feed_id);