summaryrefslogtreecommitdiff
path: root/platform/windows/packet_peer_udp_winsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/windows/packet_peer_udp_winsock.h')
-rw-r--r--platform/windows/packet_peer_udp_winsock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/packet_peer_udp_winsock.h b/platform/windows/packet_peer_udp_winsock.h
index ceb6df71aa..01f2e5113f 100644
--- a/platform/windows/packet_peer_udp_winsock.h
+++ b/platform/windows/packet_peer_udp_winsock.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;