summaryrefslogtreecommitdiff
path: root/core/io/tcp_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/tcp_server.h')
-rw-r--r--core/io/tcp_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/tcp_server.h b/core/io/tcp_server.h
index 4e7fa7cf3e..b4ff3246ad 100644
--- a/core/io/tcp_server.h
+++ b/core/io/tcp_server.h
@@ -45,7 +45,7 @@ protected:
static void _bind_methods();
public:
- virtual Error listen(uint16_t p_port, const IP_Address p_bind_address = IP_Address("*")) = 0;
+ virtual Error listen(uint16_t p_port, const IP_Address &p_bind_address = IP_Address("*")) = 0;
virtual bool is_connection_available() const = 0;
virtual Ref<StreamPeerTCP> take_connection() = 0;