diff options
Diffstat (limited to 'connectionList.cpp')
-rw-r--r-- | connectionList.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectionList.cpp b/connectionList.cpp index 0395284..2b857f3 100644 --- a/connectionList.cpp +++ b/connectionList.cpp @@ -41,9 +41,10 @@ ConnectionList::~ConnectionList() { } -void ConnectionList::addConnection() +void ConnectionList::addConnection(ConnectionParam &conn, const std::string &name) { Lock lock(mutex_); + connections_[name]=conn; } void ConnectionList::clear() |