summaryrefslogtreecommitdiff
path: root/router.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-12-10 19:33:27 +0000
committerChristian Pointner <equinox@anytun.org>2007-12-10 19:33:27 +0000
commitc31f7578c50c4b80d5e24c67b80d74fea2fc762f (patch)
tree89089900db4cd8d3ff6bbe986005abc1ec8c0f13 /router.h
parentadded synclistensocket (diff)
some cleanups
Diffstat (limited to 'router.h')
-rw-r--r--router.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/router.h b/router.h
index e487cec..9c22329 100644
--- a/router.h
+++ b/router.h
@@ -39,7 +39,7 @@
class Router
{
public:
- Router();
+ Router(ConnectionList& cl);
~Router();
void addConnection(ConnectionParam &conn,const std::string &name);
ConnectionParam getRoute();
@@ -47,7 +47,7 @@ public:
private:
Router(const Router &s);
void operator=(const Router &s);
- ConnectionList con_list_;
+ ConnectionList& con_list_;
Mutex mutex_;
};