diff options
Diffstat (limited to 'router.cpp')
-rw-r--r-- | router.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,9 +41,9 @@ Router::~Router() { } -void Router::addConnection(connection_param_t conn) +void Router::addConnection(ConnectionParam &conn,const std::string &name) { - Lock lock(mutex_); + con_list_.addConnection(conn,name); } connection_param_t Router::getRoute() |