summaryrefslogtreecommitdiffhomepage
path: root/connectionregistry.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-02-10 18:21:30 +0100
committerRoland Reichwein <mail@reichwein.it>2023-02-10 18:21:30 +0100
commiteccdcf5b38eff88c00b2ea77d2abe1924b2ff349 (patch)
tree90ab5a9263acd4ecb912850d873d5e3be3847add /connectionregistry.cpp
parent40506bc32efca98b43a72202d0823cdd3c8b2c05 (diff)
v1.7 fix test
Diffstat (limited to 'connectionregistry.cpp')
-rw-r--r--connectionregistry.cpp6
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();
}