summaryrefslogtreecommitdiffstats
path: root/core/io/net_socket.h
diff options
context:
space:
mode:
authorMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-01-08 22:36:19 -0300
committerMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-02-14 11:20:36 -0300
commita8bc9f3e78788bdf0be7348fcbfac15c127f1f48 (patch)
treecb6029160994d6445123f01ffe142e3e3ff6f96a /core/io/net_socket.h
parent907db8eebcecb97d527edcaff77a1c87a6c068f5 (diff)
downloadredot-engine-a8bc9f3e78788bdf0be7348fcbfac15c127f1f48.tar.gz
Add const lvalue ref to core/* container parameters
Diffstat (limited to 'core/io/net_socket.h')
-rw-r--r--core/io/net_socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/net_socket.h b/core/io/net_socket.h
index 2c1a020a46..120ad5e85b 100644
--- a/core/io/net_socket.h
+++ b/core/io/net_socket.h
@@ -74,8 +74,8 @@ public:
virtual void set_ipv6_only_enabled(bool p_enabled) = 0;
virtual void set_tcp_no_delay_enabled(bool p_enabled) = 0;
virtual void set_reuse_address_enabled(bool p_enabled) = 0;
- virtual Error join_multicast_group(const IPAddress &p_multi_address, String p_if_name) = 0;
- virtual Error leave_multicast_group(const IPAddress &p_multi_address, String p_if_name) = 0;
+ virtual Error join_multicast_group(const IPAddress &p_multi_address, const String &p_if_name) = 0;
+ virtual Error leave_multicast_group(const IPAddress &p_multi_address, const String &p_if_name) = 0;
};
#endif // NET_SOCKET_H