summaryrefslogtreecommitdiff
path: root/drivers/unix/tcp_server_posix.h
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2017-08-12 07:04:30 -0400
committerWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2017-08-14 13:28:06 -0400
commit21d281c4a953404c8f13e1cb7ee8d4cf9c25bb4c (patch)
tree2a4144fca78e6fc84efec7583297f6d8dcea9614 /drivers/unix/tcp_server_posix.h
parent9575dbdf788e8a5154b3ec2f66913e731ac02850 (diff)
Use const reference where favorable
Diffstat (limited to 'drivers/unix/tcp_server_posix.h')
-rw-r--r--drivers/unix/tcp_server_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/tcp_server_posix.h b/drivers/unix/tcp_server_posix.h
index 659b389fe2..947050ab8a 100644
--- a/drivers/unix/tcp_server_posix.h
+++ b/drivers/unix/tcp_server_posix.h
@@ -41,7 +41,7 @@ class TCPServerPosix : public TCP_Server {
static TCP_Server *_create();
public:
- virtual Error listen(uint16_t p_port, IP_Address p_bind_address = IP_Address("*"));
+ virtual Error listen(uint16_t p_port, const IP_Address &p_bind_address = IP_Address("*"));
virtual bool is_connection_available() const;
virtual Ref<StreamPeerTCP> take_connection();