summaryrefslogtreecommitdiffstats
path: root/src/server/ConnectionImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/ConnectionImpl.hpp')
-rw-r--r--src/server/ConnectionImpl.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/ConnectionImpl.hpp b/src/server/ConnectionImpl.hpp
index 5a04d81b..9dd71233 100644
--- a/src/server/ConnectionImpl.hpp
+++ b/src/server/ConnectionImpl.hpp
@@ -57,8 +57,8 @@ public:
PortImpl* src_port() const { return _src_port; }
PortImpl* dst_port() const { return _dst_port; }
- const Raul::Path src_port_path() const { return _src_port->path(); }
- const Raul::Path dst_port_path() const { return _dst_port->path(); }
+ const Raul::Path& src_port_path() const { return _src_port->path(); }
+ const Raul::Path& dst_port_path() const { return _dst_port->path(); }
/** Used by some (recursive) events to prevent double disconnections */
bool pending_disconnection() { return _pending_disconnection; }