summaryrefslogtreecommitdiff
path: root/modules/gdnavigation/gd_navigation_server.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-29 17:51:22 +0200
committerGitHub <noreply@github.com>2021-06-29 17:51:22 +0200
commit916c37de09871be0f5578f2f23f700ecaa08f836 (patch)
treebbb54b367c30c4d17ec19fb0f5357c4343f64908 /modules/gdnavigation/gd_navigation_server.h
parent691c754a6c46b7557e5605f479e028447f923df6 (diff)
parent64c925cca6d5c54b0ef4dd0bcdd7a4357f4b86fb (diff)
Merge pull request #50000 from reduz/improve-rid-owner-memory-usage
Improve RID_Owner memory usage
Diffstat (limited to 'modules/gdnavigation/gd_navigation_server.h')
-rw-r--r--modules/gdnavigation/gd_navigation_server.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdnavigation/gd_navigation_server.h b/modules/gdnavigation/gd_navigation_server.h
index 759d15e508..bc2fc855c4 100644
--- a/modules/gdnavigation/gd_navigation_server.h
+++ b/modules/gdnavigation/gd_navigation_server.h
@@ -75,9 +75,9 @@ class GdNavigationServer : public NavigationServer3D {
std::vector<SetCommand *> commands;
- mutable RID_PtrOwner<NavMap> map_owner;
- mutable RID_PtrOwner<NavRegion> region_owner;
- mutable RID_PtrOwner<RvoAgent> agent_owner;
+ mutable RID_Owner<NavMap> map_owner;
+ mutable RID_Owner<NavRegion> region_owner;
+ mutable RID_Owner<RvoAgent> agent_owner;
bool active = true;
LocalVector<NavMap *> active_maps;