summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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();
}