summaryrefslogtreecommitdiffstats
path: root/core/io/packet_peer_udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/packet_peer_udp.h')
-rw-r--r--core/io/packet_peer_udp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/packet_peer_udp.h b/core/io/packet_peer_udp.h
index 3e0e3b437e..c69a138c53 100644
--- a/core/io/packet_peer_udp.h
+++ b/core/io/packet_peer_udp.h
@@ -91,8 +91,8 @@ public:
int get_available_packet_count() const override;
int get_max_packet_size() const override;
void set_broadcast_enabled(bool p_enabled);
- Error join_multicast_group(IPAddress p_multi_address, String p_if_name);
- Error leave_multicast_group(IPAddress p_multi_address, String p_if_name);
+ Error join_multicast_group(IPAddress p_multi_address, const String &p_if_name);
+ Error leave_multicast_group(IPAddress p_multi_address, const String &p_if_name);
PacketPeerUDP();
~PacketPeerUDP();