summaryrefslogtreecommitdiff
path: root/servers/navigation_server_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/navigation_server_2d.cpp')
-rw-r--r--servers/navigation_server_2d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/navigation_server_2d.cpp b/servers/navigation_server_2d.cpp
index 0fef416680..a92fe8c79a 100644
--- a/servers/navigation_server_2d.cpp
+++ b/servers/navigation_server_2d.cpp
@@ -138,11 +138,11 @@ static Object *obj_to_obj(Object *d) {
return d;
}
-static StringName sn_to_sn(StringName &d) {
+static StringName sn_to_sn(const StringName &d) {
return d;
}
-static Variant var_to_var(Variant &d) {
+static Variant var_to_var(const Variant &d) {
return d;
}