aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/packet_peer_udp_posix.h
diff options
context:
space:
mode:
authorWilson E. Alvarez2017-08-12 07:04:30 -0400
committerWilson E. Alvarez2017-08-14 13:28:06 -0400
commit21d281c4a953404c8f13e1cb7ee8d4cf9c25bb4c (patch)
tree2a4144fca78e6fc84efec7583297f6d8dcea9614 /drivers/unix/packet_peer_udp_posix.h
parent9575dbdf788e8a5154b3ec2f66913e731ac02850 (diff)
downloadgodot-21d281c4a953404c8f13e1cb7ee8d4cf9c25bb4c.tar.gz
godot-21d281c4a953404c8f13e1cb7ee8d4cf9c25bb4c.tar.zst
godot-21d281c4a953404c8f13e1cb7ee8d4cf9c25bb4c.zip
Diffstat (limited to 'drivers/unix/packet_peer_udp_posix.h')
-rw-r--r--drivers/unix/packet_peer_udp_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/packet_peer_udp_posix.h b/drivers/unix/packet_peer_udp_posix.h
index a52b8b8e9..d8b08818b 100644
--- a/drivers/unix/packet_peer_udp_posix.h
+++ b/drivers/unix/packet_peer_udp_posix.h
@@ -67,7 +67,7 @@ public:
virtual int get_max_packet_size() const;
- virtual Error listen(int p_port, IP_Address p_bind_address = IP_Address("*"), int p_recv_buffer_size = 65536);
+ virtual Error listen(int p_port, const IP_Address &p_bind_address = IP_Address("*"), int p_recv_buffer_size = 65536);
virtual void close();
virtual Error wait();
virtual bool is_listening() const;