| 542 | } |
| 543 | |
| 544 | void event::remove_subscriber(eventgroup_t _eventgroup, client_t _client) { |
| 545 | |
| 546 | std::scoped_lock its_lock(eventgroups_mutex_); |
| 547 | auto find_eventgroup = eventgroups_.find(_eventgroup); |
| 548 | if (find_eventgroup != eventgroups_.end()) { |
| 549 | find_eventgroup->second.erase(_client); |
| 550 | } |
| 551 | } |
| 552 | |
| 553 | bool event::has_subscriber(eventgroup_t _eventgroup, client_t _client) { |
| 554 |
no test coverage detected