diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-02-10 18:21:30 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-02-10 18:21:30 +0100 |
commit | eccdcf5b38eff88c00b2ea77d2abe1924b2ff349 (patch) | |
tree | 90ab5a9263acd4ecb912850d873d5e3be3847add | |
parent | 40506bc32efca98b43a72202d0823cdd3c8b2c05 (diff) |
v1.7 fix test
-rw-r--r-- | connectionregistry.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/connectionregistry.cpp b/connectionregistry.cpp index 5b2ea2b..412472d 100644 --- a/connectionregistry.cpp +++ b/connectionregistry.cpp @@ -53,17 +53,11 @@ void ConnectionRegistry::delConnection(ConnectionRegistry::connection c) std::unordered_set<ConnectionRegistry::connection>::iterator ConnectionRegistry::begin(const std::string& id) { - if (!m_ids.contains(id)) - return std::unordered_set<ConnectionRegistry::connection>::iterator{}; - return m_ids.at(id).begin(); } std::unordered_set<ConnectionRegistry::connection>::iterator ConnectionRegistry::end(const std::string& id) { - if (!m_ids.contains(id)) - return std::unordered_set<ConnectionRegistry::connection>::iterator{}; - return m_ids.at(id).end(); } |