| 157 | } |
| 158 | |
| 159 | std::pair<const dap::TypeInfo*, GenericRequestHandler> request( |
| 160 | const std::string& name) { |
| 161 | std::unique_lock<std::mutex> lock(requestMutex); |
| 162 | auto it = requestMap.find(name); |
| 163 | return (it != requestMap.end()) ? it->second : decltype(it->second){}; |
| 164 | } |
| 165 | |
| 166 | void put(const dap::TypeInfo* typeinfo, |
| 167 | const GenericRequestHandler& handler) { |
no test coverage detected