diff options
author | Christian Pointner <equinox@anytun.org> | 2007-12-10 19:33:27 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2007-12-10 19:33:27 +0000 |
commit | c31f7578c50c4b80d5e24c67b80d74fea2fc762f (patch) | |
tree | 89089900db4cd8d3ff6bbe986005abc1ec8c0f13 /router.cpp | |
parent | added synclistensocket (diff) |
some cleanups
Diffstat (limited to 'router.cpp')
-rw-r--r-- | router.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } |