summaryrefslogtreecommitdiff
path: root/router.h
diff options
context:
space:
mode:
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_;
};