diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-29 17:51:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 17:51:22 +0200 |
commit | 916c37de09871be0f5578f2f23f700ecaa08f836 (patch) | |
tree | bbb54b367c30c4d17ec19fb0f5357c4343f64908 /modules/gdnavigation/gd_navigation_server.h | |
parent | 691c754a6c46b7557e5605f479e028447f923df6 (diff) | |
parent | 64c925cca6d5c54b0ef4dd0bcdd7a4357f4b86fb (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.h | 6 |
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; |