| 214 | } |
| 215 | |
| 216 | std::pair<const dap::TypeInfo*, GenericEventHandler> event( |
| 217 | const std::string& name) { |
| 218 | std::unique_lock<std::mutex> lock(eventMutex); |
| 219 | auto it = eventMap.find(name); |
| 220 | return (it != eventMap.end()) ? it->second : decltype(it->second){}; |
| 221 | } |
| 222 | |
| 223 | void put(const dap::TypeInfo* typeinfo, |
| 224 | const GenericEventHandler& handler) { |
no test coverage detected