1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 09:12:14 +01:00

Better method name

This commit is contained in:
Pavel Odintsov 2023-07-08 15:34:19 +01:00
parent 5fe2378117
commit 22ce3c6bb3

@ -199,7 +199,7 @@ template <typename T, typename Counter> class abstract_subnet_counters_t {
}
// Retrieves average speed for specified key with all locks
bool get_average_speed_subnet(const T& key, Counter& average_speed_element) {
bool get_average_speed(const T& key, Counter& average_speed_element) {
std::lock_guard<std::mutex> lock_guard(this->counter_map_mutex);
auto average_speed_itr = this->average_speed_map.find(key);