Rework const on NavigationServer methods
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
This commit is contained in:
parent
fcba87e696
commit
a0715b30f9
16 changed files with 329 additions and 329 deletions
|
|
@ -125,11 +125,7 @@ void NavigationServer3D::_bind_methods() {
|
|||
ADD_SIGNAL(MethodInfo("navigation_debug_changed"));
|
||||
}
|
||||
|
||||
const NavigationServer3D *NavigationServer3D::get_singleton() {
|
||||
return singleton;
|
||||
}
|
||||
|
||||
NavigationServer3D *NavigationServer3D::get_singleton_mut() {
|
||||
NavigationServer3D *NavigationServer3D::get_singleton() {
|
||||
return singleton;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue