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 /servers/camera_server.cpp | |
parent | 5efe80f3085c8c6451363fe4c743bf3d7fc20b6c (diff) | |
download | redot-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.cpp | 2 |
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); |