| 202 | } |
| 203 | |
| 204 | std::pair<const dap::TypeInfo*, GenericEventHandler> event( |
| 205 | const std::string& name) { |
| 206 | std::unique_lock<std::mutex> lock(eventMutex); |
| 207 | auto it = eventMap.find(name); |
| 208 | return (it != eventMap.end()) ? it->second : decltype(it->second){}; |
| 209 | } |
| 210 | |
| 211 | void put(const dap::TypeInfo* typeinfo, |
| 212 | const GenericEventHandler& handler) { |
no test coverage detected