| 838 | } |
| 839 | |
| 840 | void Add(std::pair<NotificationType, ServiceState> notification) { |
| 841 | std::lock_guard<std::mutex> lock (mutex); |
| 842 | |
| 843 | log.emplace_back(notification); |
| 844 | } |
| 845 | |
| 846 | private: |
| 847 | std::mutex mutex; |
no outgoing calls
no test coverage detected