From c4a1f194e79a7834a54fdbf63d73c33e434b4825 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 Feb 2023 12:43:51 +0100 Subject: Added stats.html --- connectionregistry.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'connectionregistry.cpp') diff --git a/connectionregistry.cpp b/connectionregistry.cpp index 11a538b..412472d 100644 --- a/connectionregistry.cpp +++ b/connectionregistry.cpp @@ -81,6 +81,11 @@ void ConnectionRegistry::dump() const } } +size_t ConnectionRegistry::number_of_connections() const +{ + return m_connections.size(); +} + ConnectionRegistry::RegistryGuard::RegistryGuard(ConnectionRegistry& registry, ConnectionRegistry::connection c): m_registry{registry}, m_connection{c} -- cgit v1.2.3