From c31f7578c50c4b80d5e24c67b80d74fea2fc762f Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 10 Dec 2007 19:33:27 +0000 Subject: some cleanups --- router.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'router.cpp') diff --git a/router.cpp b/router.cpp index 98cdce4..33cddb2 100644 --- a/router.cpp +++ b/router.cpp @@ -33,7 +33,7 @@ #include "router.h" -Router::Router() +Router::Router(ConnectionList& cl) : con_list_(cl) { } @@ -49,5 +49,5 @@ void Router::addConnection(ConnectionParam &conn,const std::string &name) ConnectionParam Router::getRoute() { Lock lock(mutex_); - + return con_list_.getConnection(); } -- cgit v1.2.3