X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/1767eccd7e3ea6de4101d6d29c1d29ac0fba2a51..HEAD:/Server/src/connection.cpp diff --git a/Server/src/connection.cpp b/Server/src/connection.cpp index 31aaf1a..cf0e293 100644 --- a/Server/src/connection.cpp +++ b/Server/src/connection.cpp @@ -88,11 +88,11 @@ void Connection::finish(void) { } } -const string Connection::get_host(void) const { +const string& Connection::get_host(void) const { return host; } -const Connection::Port Connection::get_port(void) const { +const Connection::Port& Connection::get_port(void) const { return port; }