From eccdcf5b38eff88c00b2ea77d2abe1924b2ff349 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 10 Feb 2023 18:21:30 +0100 Subject: v1.7 fix test --- connectionregistry.cpp | 6 ------ 1 file changed, 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::iterator ConnectionRegistry::begin(const std::string& id) { - if (!m_ids.contains(id)) - return std::unordered_set::iterator{}; - return m_ids.at(id).begin(); } std::unordered_set::iterator ConnectionRegistry::end(const std::string& id) { - if (!m_ids.contains(id)) - return std::unordered_set::iterator{}; - return m_ids.at(id).end(); } -- cgit v1.2.3